the svn bug or feature?

C. Michael Pilato cmpilato at red-bean.com
Wed Jun 15 11:25:57 CDT 2005


Andrew Sagulin wrote:

>Two weeks ago I downloaded and installed Subversion 1.2.0. I also downloaded and read
>Svnbook. Actually this is a great job (both Subversion and the book about it).
>  
>
Thanks.

>But when I tried one doubtful feature I found that Subversion did
>somethine different from Svnbook example:
>
>=== svn copy reference ===
>$ svn copy file:///tmp/repos/test/trunk file:///tmp/repos/test/tags/0.6.32-prerelease -m "tag tree"
>
>Committed revision 12.
>
>And don't worry if you forgot to tag≈you can always specify an older revision and tag anytime:
>
>$ svn copy -r 11 file:///tmp/repos/test/trunk file:///tmp/repos/test/tags/0.6.32-prerelease -m "Forgot to tag at rev 11"
>
>Committed revision 13.
>===
>
>Actually svn do not override destination, but create subdirectory:
>file:///tmp/repos/test/tags/0.6.32-prerelease/trunk
>
>On the next attempt to copy to the same destination svn will report
>
>svn: Path 'tags/0.6.32-prerelease/trunk' already exists.
>
>Is it a Subversion bug or a Svnbook inaccuracy?
>  
>
Neither.  The book portion you quoted said, "don't worry if you forgot 
to tag".  But you /didn't/ forget to tag -- you tagged twice (to create 
each of revision 12 and 13).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.red-bean.com/pipermail/svnbook-dev/attachments/20050615/df676bb6/attachment.html>


More information about the svnbook-dev mailing list