#62: svn -> hg (and monotone?) not removing directories correctly (0.9.23)
-------------------------+--------------------------------------------------
Reporter: twouters | Owner: lele
Type: defect | Status: new
Priority: minor | Milestone: VersionOne
Component: tailor | Version: 0.9
Keywords: hg monotone |
-------------------------+--------------------------------------------------
When converting a Subversion repository to Mercurial, removals of
directories with files in them aren't tracked. Subversion correctly
removes the directories and files, but Mercurial does not pick up the
removal (and 'hg status' shows the directories and files to be tracked-
but-missing.) The reason is probably because the 'isdir' test in
hg.HgWorkingDir._removePathnames() fails (because svn already removed the
files and directories.) This leaves the files inside the directories still
tracked, and thus the directories tracked.
I ran across a similar but different issue with Monotone, earlier, that's
probably related. A svn->monotone conversion was repeatedly barfing on
removing a directory that still had files in it. I fixed it by manually
removing all files inside the directory whenever it happened, but now that
I investigate this problem, I realize that it has the same root cause: the
svn 'changeset' probably doesn't mention removing the individual files,
just the directory that contains them all.
--
Ticket URL: <http://progetti.arstecnica.it/tailor/ticket/62>
Tailor <http://progetti.arstecnica.it/tailor>
An inter-VCs changeset exchanger
_______________________________________________
Tailor mailing list
[email protected]
http://lists.zooko.com/mailman/listinfo/tailor