Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

See the master branch's source of a file while reviewing a pull request

When i review PR,  I need an option to see the base code by having a hyper link on the "src/features...".

Example file

 

Screenshot from 2019-11-24 16-39-56.png

Of course the "Side-Side by compare helps". But i just want to see the code. Why what is the line count? Read to see what was there before.

The only way i can go check the current code as i want to see is > Source > Navigate to the file.

 

 

1 comment

Hello @Kishorekumar Neelamegam,

Thanks for reaching out.

There's indeed no direct link to a file on the destination branch, however there's a faster way to navigate than switching to Source and searching for that file in the tree.

You can first navigate to that file on source branch by clicking on ··· > Open file. Then simply select the relevant branch in the dropdown just above the file.

Here's a screencast:

Base branch file.gif

Hope this helps.

Cheers,
Daniil

Cool. Thanks for tip

 

But wouldn't a direct href help an user ?

Taking directly to the code since the user already is in the master branch of the PR.

No worries :)

But wouldn't a direct href help a user?

Well, it would definitely help in your use case. I guess we tried to balance the design to be functional enough but remain streamlined,  simple and easy to use, as in not overloaded with links and actions. I can't say that looking at the destination branch version of a file in a PR is a common use case, whereas sometimes the source branch version is helpful.

Anyways, please don't hesitate to raise a ticket in our public issue tracker so that we know about your workflow and consider improving it — this way you'll get notified when we do something about that ticket.

Cheers,
Daniil

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,741 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you