I would like to get revisions to https://hg-edge.mozilla.org/mozilla-central/file/default/testing/geckodriver/src. While https://hg-edge.mozilla.org/mozilla-central/log/default/testing/geckodriver/src/android.rs works fine for `src/android.rs`, https://hg-edge.mozilla.org/mozilla-central/log/default/testing/geckodriver/src/ does not work.
May 15, 4:30pm
The issue you're encountering is due to how Mercurial (hg) web interfaces handle directory-level log requests. The URL structure for viewing the revision history of a directory in Mercurial is different from that of a file.
Why the Directory URL Doesn't Work
Mercurial's web interface does not directly support a /log/ path for directories in the same way it does for files.
The /log/ path is typically used for files (e.g., android.rs), but for directories, you need to use a different approach.
How to Get Revisions for a Directory
To get the revision history for the entire src/ directory in the geckodriver repository, you have a few options:
1. Use the Mercurial Command Line
If you have Mercurial installed locally, you can clone the repository and run:
bash
hg log testing/geckodriver/src/
This will show you the revision history for the src/ directory.
2. Use the Mercurial Web Interface for the Repository Root
You can browse the repository root and navigate to the directory: