Not sure if this is a known issue or not, but I didn't see this in the issue tracker.
I'm trying to convert an old Subversion repository (old as in it was created years ago) to Mercurial and running into the problem shown below. The revision in question looked like this: r3 | nfiedler | 2002-04-14 17:58:36 -0700 (Sun, 14 Apr 2002) | 2 lines Changed paths: A /jswat/trunk (from /trunk:2) D /trunk Moving JSwat to the correct directory. At the moment, the "original" directory contains 'jswat/trunk'. Any ideas what I should do about this? Below is the stack trace from Tailor. Thanks n 12:21:00 [I] Renaming 'trunk' to 'jswat/trunk'... jswat/trunk does not exist! 12:21:00 [E] Failure replaying: Revision: 3 Date: 2002-04-15 00:58:36.084111+00:00 Author: nfiedler Entries: jswat/trunk(REN from trunk) Log: Moving JSwat to the correct directory. Traceback (most recent call last): File "/home/nfiedler/downloads/tailor-0.9.28/vcpx/target.py", line 117, in replayChangeset self._replayChangeset(changeset) File "/home/nfiedler/downloads/tailor-0.9.28/vcpx/target.py", line 320, in _replayChangeset action(group) File "/home/nfiedler/downloads/tailor-0.9.28/vcpx/target.py", line 474, in _renameEntries self._renamePathname(e.old_name, e.name) File "/home/nfiedler/downloads/tailor-0.9.28/vcpx/repository/hg.py", line 385, in _renamePathname repo.remove([oldname], unlink=True) File "/usr/lib64/python2.4/site-packages/mercurial/localrepo.py", line 944, in remove util.unlink(self.wjoin(f)) File "/usr/lib64/python2.4/site-packages/mercurial/util.py", line 552, in unlink os.unlink(f) OSError: [Errno 21] Is a directory: '/home/nfiedler/workspace/migrated/trunk' 12:21:00 [E] Couldn't replay changeset Revision: 3 Date: 2002-04-15 00:58:36.084111+00:00 Author: nfiedler Entries: jswat/trunk(REN from trunk) Log: Moving JSwat to the correct directory. Traceback (most recent call last): File "/home/nfiedler/downloads/tailor-0.9.28/vcpx/source.py", line 141, in applyPendingChangesets replay(c) File "/home/nfiedler/downloads/tailor-0.9.28/vcpx/dualwd.py", line 107, in replayChangeset self.target.replayChangeset(changeset) File "/home/nfiedler/downloads/tailor-0.9.28/vcpx/target.py", line 117, in replayChangeset self._replayChangeset(changeset) File "/home/nfiedler/downloads/tailor-0.9.28/vcpx/target.py", line 320, in _replayChangeset action(group) File "/home/nfiedler/downloads/tailor-0.9.28/vcpx/target.py", line 474, in _renameEntries self._renamePathname(e.old_name, e.name) File "/home/nfiedler/downloads/tailor-0.9.28/vcpx/repository/hg.py", line 385, in _renamePathname repo.remove([oldname], unlink=True) File "/usr/lib64/python2.4/site-packages/mercurial/localrepo.py", line 944, in remove util.unlink(self.wjoin(f)) File "/usr/lib64/python2.4/site-packages/mercurial/util.py", line 552, in unlink os.unlink(f) OSError: [Errno 21] Is a directory: '/home/nfiedler/workspace/migrated/trunk' 12:21:02 [I] 2965 pending changesets in state file 12:21:03 [C] Upstream change application failed Traceback (most recent call last): File "./tailor", line 35, in ? main() File "/home/nfiedler/downloads/tailor-0.9.28/vcpx/tailor.py", line 339, in main tailorizer() File "/home/nfiedler/downloads/tailor-0.9.28/vcpx/tailor.py", line 147, in __call__ self.update() File "/home/nfiedler/downloads/tailor-0.9.28/vcpx/tailor.py", line 110, in update last, conflicts = dwd.applyPendingChangesets( File "/home/nfiedler/downloads/tailor-0.9.28/vcpx/dualwd.py", line 97, in applyPendingChangesets applied=applied) File "/home/nfiedler/downloads/tailor-0.9.28/vcpx/source.py", line 141, in applyPendingChangesets replay(c) File "/home/nfiedler/downloads/tailor-0.9.28/vcpx/dualwd.py", line 107, in replayChangeset self.target.replayChangeset(changeset) File "/home/nfiedler/downloads/tailor-0.9.28/vcpx/target.py", line 117, in replayChangeset self._replayChangeset(changeset) File "/home/nfiedler/downloads/tailor-0.9.28/vcpx/target.py", line 320, in _replayChangeset action(group) File "/home/nfiedler/downloads/tailor-0.9.28/vcpx/target.py", line 474, in _renameEntries self._renamePathname(e.old_name, e.name) File "/home/nfiedler/downloads/tailor-0.9.28/vcpx/repository/hg.py", line 385, in _renamePathname repo.remove([oldname], unlink=True) File "/usr/lib64/python2.4/site-packages/mercurial/localrepo.py", line 944, in remove util.unlink(self.wjoin(f)) File "/usr/lib64/python2.4/site-packages/mercurial/util.py", line 552, in unlink os.unlink(f) OSError: [Errno 21] Is a directory: '/home/nfiedler/workspace/migrated/trunk'
_______________________________________________ Tailor mailing list [email protected] http://lists.zooko.com/mailman/listinfo/tailor
