[issue1861] Mercurial on windows leaves empty directories lying around on update

Perttu Auramo bugs at mercurial.selenic.com
Thu Oct 8 11:56:01 UTC 2009


New submission from Perttu Auramo <perttu.auramo at ge.com>:

I encountered a bug in Mercurial 1.3.1 on windows. Steps to reproduce:

Create a directory structure like this:

myrepo/a/x.txt
myrepo/a/b/c/d.txt

Where myrepo is the repository directory (containing .hg)

Now create a clone of that repository.

Remove b with all under it (including file d.txt) and commit

pull changes into the clone with hg pull -u

The file d.txt is gone from the clone but it still contains the empty
directory myrepo/a/b although Mercurial does not track empty directories and
hence it should not be there any more. Note that the branch directory c
disappears!

I could not repeat this on linux with the same version of hg.

----------
messages: 10716
nosy: auramo
priority: bug
status: unread
title: Mercurial on windows leaves empty directories lying around on update
topic: 1.3.1

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue1861>
____________________________________________________



More information about the Mercurial-devel mailing list