Issues with branches
From: <webpost_at_tigris.org>
Date: Tue, 12 May 2009 23:35:04 -0700 (PDT)
Hi All,
Recently while doing some experiments with the subversion, I have encountered with an issue while trying to checkout from a branch at a old revision. This branch is no longer present under the current revision, but I was sure that this branch existed within the older revision
My repo layout is as follows at Revision:1
myrepo
At revision 4 I had decided to branch the code from main. And the structure after copy was
svn copy http://localhost/repo/myrepo/main http://localhost/repo/myrepo/branches
Now this is at Rev :5
myrepo
Rev:6 I made changes in branch
Rev:7 Made the same changes in main
Rev: 8 removed branches/main Since we are done with phase 1
Phase 2 development goes and goes and revision in main is 10
Somebody find an issue with the current production code and I had to create a new branch to fix this issue. And I know that this is released from http://localhost/repo/myrepo/branches/main at revision 6:
svn list http://localhost/repo/myrepo/branches/ -r6
I found that branches/main is available in revision 6. So I went ahead and tried to checkout rev:6 from http://localhost/repo/myrepo/branches/
svn co http://localhost/repo/myrepo/branches/main -r6
But I can checkout by svn co http://localhost/repo/myrepo/branches/ -r6
svn co http://localhost/repo/myrepo/branches/ -r6
It gave me an exact copy of what was there at Revision: 6
I was able to copy the branches/main at rev:6 into a new branch
svn copy http://localhost/repo/myrepo/branches/main -r6 http://localhost/repo/myrepo/branches/bugfix -m "bug fix"
I am confused at this point why it didn't allowed me to checkout from rev:6 using the url http://localhost/repo/myrepo/branches/main
It would be highly appreciable if somebody could explain on this
Thanks,
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.