[issue783] convert from svn: leftover dirs that were moved to a branch

Kirill Smelkov mercurial-bugs at selenic.com
Mon Oct 15 10:19:04 CDT 2007


New submission from Kirill Smelkov <kirr at landau.phys.spbu.ru>:

from IRC:

[17:27:37] <kirr> I have a question about convert svn -> hg misbehaving:
[17:27:37] <kirr>
[17:27:37] <kirr> If some directory X/ is first created on the trunk/ then 
renamed to Y/ --
[17:27:37] <kirr> everything is converted correctly: Y is copied and X is 
deleted.
[17:27:37] <kirr>
[17:27:37] <kirr> But if the whole trunk is first copied to say 
branches/branch-foo and then X/
[17:27:37] <kirr> is deleted on the trunk, X/ is left on the trunk after 
conversion.
[17:27:37] <kirr>
[17:27:37] <kirr> I use hg-crew at tip and python-subversion 1.4.2 on Debian Etch.
[17:27:37] <kirr>
[17:27:37] <kirr> I can't see whether this is convert bug, or my subversion is 
too old.
[17:27:37] <kirr> Please can somebody help?
[17:27:37] <kirr>
[17:27:37] <kirr> I prepared test case for it, grab:
[17:27:37] <kirr> http://landau.phys.spbu.ru/~kirr/hg-convert-bug-demo.sh
[17:27:38] <kirr> http://landau.phys.spbu.ru/~kirr/hg-convert-bug.tar.gz
[17:27:38] <kirr>
[17:27:38] <kirr> and run hg-convert-bug-demo.sh
[17:27:38] <kirr>
[17:27:38] <kirr> Please help!

[17:38:59] <pmezard> kirr: just run your test, last changeset "rm -rf A/" is 
not empty for me but removes "a/file2.txt"
[17:39:47] <pmezard> kirr: i am using crew-719fd1751
[17:40:10] <tonfa> pmezard: maybe he needs to upgrade python-subversion
[17:43:37] <kirr> pmezard: Thanks. what version of python-subversion are you 
using?
[17:43:49] pmezard is looking for it
[17:45:03] <pmezard> i have got subversion 1.4.5.0, and i suppose i have the 
related bindings (i get it through mac ports). i will check the bindings 
headers.
[17:47:10] <kirr> Seems to be subversion bug. At crew-719fd175181f I have 
different, but still buggy conversion...



For me the problem is still present with svn 1.4.5

----------
files: hg-convert-bug-demo.sh
messages: 4142
nosy: kirr
priority: bug
status: unread
title: convert from svn: leftover dirs that were moved to a branch

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue783>
____________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hg-convert-bug-demo.sh
Type: application/x-shellscript
Size: 412 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20071015/2a36c242/attachment.bin 


More information about the Mercurial-devel mailing list