Reputation: 1
I am using tortoise SVN and have below requirement:
I renamed the branch with tortoise svn rename option. But old logs are not visible when stop on copy/name checkbox is selected. When I unselect the checkbox then it shows logs from other branches, this is the problem. Please let me know how can I rename a branch maintaining old logs in tortoise svn and check old logs of the same branch only after renaming.
I don't found any option to move a branch to another location, please let me know, how I can do it in tortoise svn.
Upvotes: 0
Views: 406
Reputation: 30662
I renamed the branch with tortoise svn rename option. But old logs are not visible when stop on copy/name checkbox is selected.
I think that the requirement you have is defined with the SVN command-line client in mind, not TortoiseSVN. If you run svn log <URL-TO-RENAMED-BRANCH>
, you should see the whole history (new commits after rename and all commits prior renaming). But TortoiseSVN has the 'Stop on copy/rename' check box and checking it will make the Revision Log dialog suppress commits done before the rename operation took place.
Relocate a branch to another location, logs shouldn't be lost and only path of the branch should be changed in svn.
Use the svn move
command.
The commands svn move
, svn rename
and svn copy
all perform similar operations in Subversion. E.g., svn rename
creates a copy with a new name and removes the old item, svn move
creates a copy at a new location an removes the old resource, svn copy
creates a cheap copy at chosen location. You can find more information in the SVNBook (Version Control with Subversion book) and on the Internet.
Upvotes: 1