Details
-
Suggestion
-
Resolution: Duplicate
Description
At the moment, when linking to a file in a repo, the link always looks like this:
https://bitbucket.org/[UserName]/[RepoName]/[Path]/[Revision]/[File]?at=[Branch]
The problem here is, that we always need to include the revision and therefor can't link to "the most recent version" of a file.
This would be helpful for example in the README-file, where we'd like to link an image from the repo.
Also, when linking a file from a documentation, this file might contain a list of mapped keyboard-shortcuts, which will get updated as the application is developed. Always changing the link in the documentation is error prone and it sucks.
Proposal: Allow links of the following style (simply without the revision part):
https://bitbucket.org/[UserName]/[RepoName]/[Path]/[File]?at=[Branch]
This will then check the latest commit that changed the desired file and show this version (maybe an automatic forward to the full link with the revision?).