[issue2218] Importing an existing changeset is "bad"

Steve Borho bugs at mercurial.selenic.com
Thu May 27 17:05:59 UTC 2010


New submission from Steve Borho <steve at borho.org>:

$ hg clone "any repo" test
$ cd test
$ hg up -r -4
$ hg export -r -3 > foo
$ hg qimport foo
$ hg qpush
$ hg qpop
abort: popping would remove a revision not managed by this patch queue

My guess is qpush should bail and not update the status file if it doesn't
create a new changeset.  The normal import command should also note this
condition and report it.

----------
messages: 12699
nosy: sborho
priority: bug
status: unread
title: Importing an existing changeset is "bad"

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


More information about the Mercurial-devel mailing list