The perforce command:
p4 sync -n
will display the results of the sync (update in subversion) without actually performing the sync.
I've been looking in the svn help pages and googling around for a tag/command in subversion that will do the same but have yet to find one. I was thinking there may be a tag for svn update that would accomplish this. Is there one?
The svn shelve command stores your changes without submitting them.
Commit uploads your changes on the CVS / SVN server, and Update overwrites the files on your localhost with the ones on the server.
When you update, the contents of your working copy are updated with all of the changes that have been committed to the repository since you last updated. Subversion is pretty smart about updating and never just overwrites files that have local changes with copies from the repository.
To see what an update will change, enter:
svn status -u
This is like svn status
but also displays files which would be updated.
You can then see individual differences by running svn status
/svn diff
on individual files.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With