[Tailor] cvs to git: removed files still exist in git

Pigeon pigeon at pigeond.net
Sat Jul 26 04:56:27 EDT 2008


Hi all,

    Quite a while ago I reported bug #133 (closed, invalid) when doing
cvs to git migration (but might not be limited to cvs), where files
removed in the cvs repo are not removed properly in the git repo. The bug still
exists with the latest tailor from the darcs repo.

    I've looked into this issue again and found this could be fixed by
either:

    - adding EXTRA_RSYNC_FLAGS = ['--delete'] for git (in
vcpx/repository/git/__init__.py)

    or

    - in the function _removePathnames in vcpx/repository/git/target.py,
      replace:

    self.repository.runCommand(['update-index', '--remove'] + notdirs)

    with

    self.repository.runCommand(['rm'] + notdirs)


    Maybe the tailor maintainer or the tailor git maintainer might have
a better idea how this should be fixed.

    Thanks.


Pigeon.



More information about the Tailor mailing list