Issue 2490 delete empty directories while importing from git

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

Created on 2016-01-21.13:18:13 by gh, last changed 2017-07-31.02:11:38 by gh.

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
Date User Action Args
2016-01-21 13:18:13ghcreate
2017-07-31 02:11:38ghsetstatus: unknown -> resolved