[Bug 4446] New: `hg pull -f --rebase` crashes during rebase

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Mon Nov 10 00:48:12 CST 2014


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

          Priority: normal
            Bug ID: 4446
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: `hg pull -f --rebase` crashes during rebase
          Severity: bug
    Classification: Unclassified
                OS: Windows
          Reporter: anro at acm.org
          Hardware: PC
            Status: UNCONFIRMED
           Version: 3.2
         Component: rebase
           Product: Mercurial

I have two repositories of the same project that are unrelated: One repo's
history stops at a certain date, and the other repo starts with the project
source at the state it was in when the first repo stopped. (Why I didn't use
clone is a topic of discussion with my past self)

Both repos only have the default branch. 

Running `hg pull -f --rebase` encounters an exception when doing the rebase.

The output from the command is below.

pulling from ..\sukiyaki-sf
searching for changes
warning: repository is unrelated
requesting all changes
adding changesets
adding manifests
adding file changes
added 4 changesets with 13 changes to 22 files (+1 heads)
** unknown exception encountered, please report by visiting
** http://mercurial.selenic.com/wiki/BugTracker
** Python 2.7.8 (default, Jun 30 2014, 16:08:48) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 3.2)
** Extensions loaded: convert, rebase
Traceback (most recent call last):
  File "hg", line 43, in <module>
  File "mercurial\dispatch.pyc", line 28, in run
  File "mercurial\dispatch.pyc", line 71, in dispatch
  File "mercurial\dispatch.pyc", line 140, in _runcatch
  File "mercurial\dispatch.pyc", line 850, in _dispatch
  File "mercurial\dispatch.pyc", line 611, in runcommand
  File "mercurial\dispatch.pyc", line 941, in _runcommand
  File "mercurial\dispatch.pyc", line 912, in checkargs
  File "mercurial\dispatch.pyc", line 847, in <lambda>
  File "mercurial\util.pyc", line 677, in check
  File "mercurial\extensions.pyc", line 151, in wrap
  File "mercurial\util.pyc", line 677, in check
  File "hgext\rebase.pyc", line 984, in pullrebase
  File "hgext\rebase.pyc", line 278, in rebase
  File "mercurial\localrepo.pyc", line 469, in revs
  File "mercurial\revset.pyc", line 2156, in formatspec
  File "mercurial\revset.pyc", line 2116, in argtype
TypeError: int() argument must be a string or a number, not 'NoneType'

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


More information about the Mercurial-devel mailing list