darcs

Issue 2490 delete empty directories while importing from git

Title delete empty directories while importing from git
Priority bug Status unknown
Milestone Resolved in
Superseder Nosy List gh
Assigned To
Topics Git

Created on 2016-01-21.13:18:13 by gh, last changed 2016-01-21.13:18:13 by gh.

Messages
msg18949 (view) Author: gh Date: 2016-01-21.13:18:10
When importing a git repository that contains file deletions, Darcs
often leaves empty directories around. We end up with differing working
copies, see eg [1].

A fix would be: for every commit, list file deletions, check if the
containing directories are empty, if yes delete them (recursively so
that empty super-directories also get deleted).

[1] git://github.com/jgm/gitit.git
History
Date User Action Args
2016-01-21 13:18:13ghcreate