Hello,
I know I can view the history of a file in my local database within SourceTree by right clicking on the file and selecting "Log Selected". Is there a way to see the history of a file in the remote repository before doing a pull?
Thanks,
Noah
If you're using Git, ou can use 'Fetch' to retrieve the remote branch state (but without pulling it into your local branches), then select any of the commits in the log which are outside your local branch state - the history functions here work exactly the same way as for commits that are in your local branches. YOu can toggle the remote branches on/off in the scope bar above the log.
In Mercurial, there's no way to do this right now. In future we intend to allow more detailed information to be provided in the 'incoming' view before you confirm a pull, although in this case it's likely to be limited to just looking at each incoming commit in turn rather than having a unified remote view of file history.
This is how I do it: go to Working Copy, change the file filter from Pending to "All files", and then either browse your repository or just type part of the file name in the filter text edit field at the top right. That filter works great as a way to drill down quickly on the file you are looking for. When you have found the file you want to know the history of: right click and select "Log Selected...", et vôila! :-)
The resulting list shows the dates the files was changed, who made the change, their commit comments, and of course a detailed breakdown of the exact changes.
Hope this helps.
Erik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.