[issue942] Replacing a directory with a file makes hg abort

Matthieu Moy mercurial-bugs at selenic.com
Wed Jan 23 12:21:46 CST 2008


New submission from Matthieu Moy <Matthieu.Moy at imag.fr>:

Simple sequence to reproduce :

mkdir foo
touch foo/bar
hg add foo/bar 
rm -fr foo/
touch foo
hg st

=> I get "abort: Not a directory: /home/...../foo/bar"

$ hg --version
Mercurial Distributed SCM (version 0.9.3)

Copyright (C) 2005, 2006 Matt Mackall <mpm at selenic.com>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

----------
messages: 4965
nosy: moy
priority: bug
status: unread
title: Replacing a directory with a file makes hg abort

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



More information about the Mercurial-devel mailing list