[Bug 4306] New: histedit blocked if i exchange and edit a commit (unknown revision / no node)

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Thu Jul 17 05:41:02 CDT 2014


http://bz.selenic.com/show_bug.cgi?id=4306

          Priority: normal
            Bug ID: 4306
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: histedit blocked if i exchange and edit a commit
                    (unknown revision / no node)
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: victor.stinner at gmail.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.8.1
         Component: histedit
           Product: Mercurial

I'm using Fedora 20: Python 2.7.5 and Mercurial 2.8.1.

Run attached hgbug.sh script, it creates a test/ repository. Enter the
repository: histedit is blocked, you cannot continue nor abort!

$ ./hgbug.sh 
$ cd test
$ hg histedit --abort
abandon : 00changelog.i at 5aff55f9037a: no node !
$ hg histedit --continue
abandon : unknown revision '5aff55f9037ad3567b4f7081e32484f1a427fbb1' !

hg glog output:
-------
@  changeset:   3:670b9463968b
|  tag:         tip
|  parent:      0:570174a1f3f9
|  user:        Victor Stinner <victor.stinner at gmail.com>
|  date:        Thu Jul 17 12:36:59 2014 +0200
|  files:       file1 file2
|  description:
|  commit 2
|
|
| o  changeset:   2:7b3770fafdf2
| |  user:        Victor Stinner <victor.stinner at gmail.com>
| |  date:        Thu Jul 17 12:36:59 2014 +0200
| |  files:       file2
| |  description:
| |  commit 2
| |
| |
| o  changeset:   1:39484c5ec523
|/   user:        Victor Stinner <victor.stinner at gmail.com>
|    date:        Thu Jul 17 12:36:59 2014 +0200
|    files:       file1
|    description:
|    commit 1
|
|
o  changeset:   0:570174a1f3f9
   user:        Victor Stinner <victor.stinner at gmail.com>
   date:        Thu Jul 17 12:36:58 2014 +0200
   files:       file1 file2
   description:
   initial
-------

Maybe it was a bad idea to exchange two commits and modify one in the same step
:-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list