[issue836] 0.9.5: hg mv -A is losing files

Markus F.X.J. Oberhumer mercurial-bugs at selenic.com
Tue Nov 20 03:30:12 CST 2007

New submission from Markus F.X.J. Oberhumer <markus at oberhumer.com>:

This is what I get when running the script below:

mfx at minerva:~/tmp/hg-mv-bug $ sh ./hg_mv_bug_01.sh
Mercurial Distributed SCM (version 0.9.5)
R a
? a

#! /bin/sh

rm -rf tmp_bug_01
mkdir  tmp_bug_01
cd     tmp_bug_01

#set -x

$hg version | head -1
$hg init

touch a
$hg add a
$hg commit -m "commit 1"

mv a b
$hg mv -A a b
mv b a
$hg mv -A b a

# NOTE: now a got lost !!
$hg status
$hg commit -m "commit 2"

$hg status

messages: 4346
nosy: mfx
priority: bug
status: unread
title: 0.9.5: hg mv -A is losing files

Mercurial issue tracker <mercurial-bugs at selenic.com>

More information about the Mercurial-devel mailing list