Pietro Abate wrote:
Hi all,
while converting a svn repository to darcs I hit this pretty nasty
error ... Am I doing something wrong in my config file (attached) ?
I got this problem in both directions (svn2darcs and darcs2svn)

...

  File "/var/lib/python-support/python2.4/vcpx/target.py", line 470, in 
_renameEntries
    rename(absnew, absnew + '-TAILOR-HACKED-TEMP-NAME')
OSError: [Errno 39] Directory not empty

Have this to on svn. Have tested it with a svn to svn convert, this fails for:

mkdir dira
echo "foo" > dira/file.txt
svn add dira
svn commit --message "initial commit"

svn mv --force dira dirb
svn commit --message "directory rename"

The probmlem is that the special dir ".svn" must move back after the tailor-hacked-temp-name.

Have fixed it with an ugly patch:
http://www.henrynestler.com/tailor/patches-breakout/svn-rename-directory-hacking.patch

This can do the example above.
But get an error, if a subdir exist on the renamed directory.
The error: "Working copy 'svn2side/trunk/dira2/subdir' is missing or not locked"

Should rename the ".svn" also from all subdirs:
  rename(absnew + '/.svn', absnew + '-TAILOR-HACKED-TEMP-NAME/.svn')
(I'm not able to do it. I'm not a Python programmer. Not know how can recursive go into subtree.)

This test scripts forces the error by Subversion to Subversion convert:
http://www.henrynestler.com/tailor/test-scripts/test-svn2svn-rename-dir4.sh

--
Henry
_______________________________________________
Tailor mailing list
[email protected]
http://lists.zooko.com/mailman/listinfo/tailor

Reply via email to