Showing posts with label svn. Show all posts
Showing posts with label svn. Show all posts

How to know first revisions on svn branches ?

So , if you are working as builder who merge the branches to the trunks , and find conflicts and all that *** * , I think that command will help you .

This will help you the first revision of the branch , so you can only merge the needed revisions

svn log BRANCH_LINK --stop-on-copy
The last revision will be the revision of copying .
Merging of course will be easy like this

svn merge -r REVISION:HEAD BRANCH_LINK

Assuming that your current directory is the working copy .

How to know the changed files on your svn branch ?

Hi all

Sometimes I encountered this problem with working with SVN , I took a branch and made a lot of changes , then I need to know which files I have changed in .

This can be done with a simple svn command , execute it on your branch .

svn diff -r 1234:HEAD --summarize

Where 1234 is the revision of the branch when you first copied it .
That's it , this command will list all your changes .