[Bug 3595] New: regression : hg update --check
bugzilla-daemon at bz.selenic.com
bugzilla-daemon at bz.selenic.com
Wed Aug 22 15:01:30 CDT 2012
http://bz.selenic.com/show_bug.cgi?id=3595
Priority: normal
Bug ID: 3595
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: regression : hg update --check
Severity: bug
Classification: Unclassified
OS: Linux
Reporter: benjamin.dedardel at gmail.com
Hardware: PC
Status: UNCONFIRMED
Version: 2.2.1
Component: Mercurial
Product: Mercurial
Hi all,
I'm testing ant4hg project (http://ant4hg.free.fr/) with last release of hg.
This project have antunit tests to prevent regressions.
I notice different behavior between hg1.9.2 and hg2.3.
Is that a regression ?
Regards,
Benjamin
===== mercurial V1.9.2 =====
$ hg version
Mercurial Distributed SCM (version 1.9.2)
(see http://mercurial.selenic.com for more information)
Copyright (C) 2005-2011 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ hg init
$ touch file1A.txt
$ hg add file1A.txt
$ hg commit -m 'test'
$ hg help commit
$ hg commit -m 'test' -u 'bdd'
$ rm file1A.txt
$ hg update -c
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ ls
file1A.txt
===== mercurial V2.3 (which does not print version !) =====
$ hg version
Mercurial Distributed SCM (version unknown)
(see http://mercurial.selenic.com for more information)
Copyright (C) 2005-2012 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ hg init
$ touch file1A.txt
$ hg add file1A.txt
$ hg commit -m 'test'
$ hg help commit
$ hg commit -m 'test' -u 'bdd'
$ rm file1A.txt
$ hg update -c
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
---------------------------------------------------------------
On Wed, 2012-08-22 at 10:57 +0200, Mads Kiilerich wrote:
> On 22/08/12 06:32, ant4hg wrote:
> > I notice different behavior between hg1.9.2 and hg2.3.
>
> $ hg init
> $ touch file1A.txt
> $ hg add file1A.txt
> $ hg commit -m 'test'
> $ rm file1A.txt
> $ hg update -c
> 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
> $ ls
> file1A.txt
>
> > Is that a regression ?
>
> It is an unannounced behavioural change introduced in
> http://selenic.com/repo/hg/rev/914bc95e227b and released in 2.2. I looks
> like a regression.
Indeed.
> I guess someone will pick it up from here and fix it, but filing it in
> the bug tracker would be better.
If the default someone is presumed to be me, then yes, it definitely
needs to go in the BTS to not be forgotten, given my current backlog.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list