List Info

Thread: New - svn mv with URLs into




New - svn mv with URLs into
user name
2006-08-20 02:46:47
http://subversion.tigris.org/issues/show_bug.cgi?id=2598

                 Issue #|2598
                 Summary|svn mv with URLs into parent
directory created empty c
                        |ommits
               Component|subversion
                 Version|1.3.x
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|cmdline client
             Assigned to|issuessubversion
             Reported by|blair






------- Additional comments from blairtigris.org Sat Aug 19
19:46:47 -0700 2006 -------
Opening a ticket for this issue I raised on the dev mailing
list:

htt
p://svn.haxx.se/dev/archive-2006-08/0439.shtml

No responses, so noting the recipe here.

Moving a file using URLs into one of its parent's
directories where the 
destination URL ends only in the destination directory looks
like it succeeds, 
but does not.  For example,

svn mv http://example.
com/repos/A/B/file.txt http://example.com/repos/
A/

causes this.  If you use http://example.co
m/repos/A/file.txt, then you get the 
add and the delete.

Has this been seen before?  I looked through the issue
tracker quickly and 
didn't see anything.

At the end of this recipe, you end up with an empty commit. 
This happens with 
1.3.2.

rm -fr repos wc
svnadmin create repos
svn co file://`pwd`/repos wc
cd wc
svn mkdir A
svn mkdir A/B
svn ci -m 'create A/B'
touch A/B/file.txt
svn add A/B/file.txt
svn ci -m 'add file.txt'
cd ..
svn mv -m 'move file.txt' file://`pwd`/repos/A/B/file.txt
file://`pwd`/repos/A
cd wc
svn update
svn log -v -r HEAD

------------------------------------------------------------
---------
To unsubscribe, e-mail: issues-unsubscribesubversion.tigris.org
For additional commands, e-mail: issues-helpsubversion.tigris.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )