[issue3202] largefiles does not remove empty directories when updating to different branch
Paul
bugs at mercurial.selenic.com
Fri Jan 13 11:23:44 CST 2012
New submission from Paul <mercurial at paulsweetman.com>:
largefiles extension bundled with Mercurial 2.0.2
If you're in a branch with a directory (let's say it's called "should_go")
that contains only large files, and you update to a branch where that
directory should not be present, the largefiles in the directory are
correctly removed but the empty directory is left behind.
Here is a script to reproduce:
---------8x----------
hg init lftest
cd lftest
touch afile
hg add
hg commit -m "add a file so we can commit"
hg branch testbranch
mkdir should_go
touch should_go/mylargefile
hg add --large should_go/mylargefile
hg commit -m "add largefile"
hg up default
ls -R #The should_go dir should not be there, but it is
---------8x----------
If you run this script without the "--large" flag on the file being added
then you can see vanilla Mercurial behaviour is different.
----------
messages: 18626
nosy: psweetma
priority: bug
status: unread
title: largefiles does not remove empty directories when updating to different branch
____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue3202>
____________________________________________________
More information about the Mercurial-devel
mailing list