简体   繁体   中英

View diff between working copy and HEAD in tortoise SVN?

I am working on a small SVN project and I have checked out two working copies (one on my desktop, and one on my laptop). Due to some unforeseen changes, I edited both working copies and then committed the one on the desktop to the Repository.

Now, I want to figure out how to commit the changes I made on my laptop without messing everything up. I thought a good starting point would be to view the differences between the working copy on the laptop and the current HEAD revision but I can't figure out how to do this.

Act like you are going to do a commit. It will show you the list of changed files and you can then right click on each of those in the list to do a diff

Just update WC on laptop and integrate committed changes. Before update you can see changes (local and remote) as file-lists, without context, using TortoiseSVN - Check for modification context menu

I modeled you case (changed two working copies with commit from one, with intersected changes). Screenshots from WC with local uncommitted changes

Without "Check Repository"

没有回购

With "Check Repository"

没有回购

On second screenshot you can see aggregated changes (both in WC and in repository after checkout)

  • Hello.de modified on both sides, my commit from this WC will be blocked due to this fact
  • Hello.eo modified only locally, usual diff show these changes
  • Hello.fr was modified only in WC1

For any file in this list of modification you can use "Compare with... " from TSVN context-menu for this window and see changed parts

与TMerge差异

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM