1

This question has been asked before see for example How to access full source of old commit in BitBucket?

The Bitbucket GUI used to support this. In 5 steps you could do this in a completely non-intuitive way.

A alternative way to do it was to manipulate / construct URL's manually. Unfortunately URL schemes have changed in 5.10.1 it seems.

So there is no easy way to browse repositories at specific commit. But is there still a way do this for example in 5.10.1?

onknows
  • 6,151
  • 12
  • 65
  • 109
  • You've probably already considered it but just in case : can't you (temporarily) tag your commit then browse to 'Files' and point to it (you can either point to branches or tags here)? – Romain Valeri Jan 18 '19 at 08:20

1 Answers1

2

Yes, this is still possible via URL hacking. From my local 5.16.0 instance:

http://bitbucket.local/projects/PROJ/repos/myrepo/browse?at=b15afd066a1

Where http://bitbucket.local is my instance URL, PROJ is my project key, myrepo is my repo slug and b15afd066a1 is my commit hash. Your commit hash doesn't need to be the full hash, Bitbucket will accept anything >= 4 characters. Obviously, the more of the hash you use the less chances of hitting a collision.

daveruinseverything
  • 4,775
  • 28
  • 40