[Bug 3702] New: strip fails under unknown conditions
bugzilla-daemon at bz.selenic.com
bugzilla-daemon at bz.selenic.com
Sat Nov 17 20:03:58 CST 2012
http://bz.selenic.com/show_bug.cgi?id=3702
Priority: normal
Bug ID: 3702
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: strip fails under unknown conditions
Severity: bug
Classification: Unclassified
OS: Windows
Reporter: matt_harbison at yahoo.com
Hardware: PC
Status: UNCONFIRMED
Version: unspecified
Component: Mercurial
Product: Mercurial
'hg strip -r tip' can fail with the traceback below, after pulling in this
cset:
changeset: 17928:7f5dab94e48c
user: Augie Fackler <raf at durin42.com>
date: Wed Nov 07 16:21:39 2012 -0600
summary: bookmarks: introduce a bmstore to manage bookmark persistence
For example:
C:\Users\Matt\Projects\hg>hg pull -r 1e6b5faf9d4e -u
pulling from http://selenic.com/hg
searching for changes
adding changesets
adding manifests
adding file changes
added 2 changesets with 11 changes to 11 files
11 files updated, 0 files merged, 0 files removed, 0 files unresolved
caching new largefiles
0 largefiles cached
C:\Users\Matt\Projects\hg>hg strip -r tip
2 files updated, 0 files merged, 0 files removed, 0 files unresolved
saved backup bundle to
C:\Users\Matt\Projects\hg\.hg\strip-backup\1e6b5faf9d4e-backup.hg
C:\Users\Matt\Projects\hg>hg strip -r tip
10 files updated, 0 files merged, 0 files removed, 0 files unresolved
saved backup bundle to
C:\Users\Matt\Projects\hg\.hg\strip-backup\7f5dab94e48c-backup.hg
strip failed, full bundle stored in
'C:\Users\Matt\Projects\hg\.hg\strip-backup\7f5dab94e48c-backup.hg'
** unknown exception encountered, please report by visiting
** http://mercurial.selenic.com/wiki/BugTracker
** Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]
** Mercurial Distributed SCM (version 2.4+11-9cc267fc29d0+20121113)
** Extensions loaded: eol, rebase, convert, graphlog, largefiles, patchbomb,
progress, extdiff, mq
Traceback (most recent call last):
File "hg\hg", line 38, in <module>
mercurial.dispatch.run()
File "hg\mercurial\dispatch.py", line 28, in run
sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
File "hg\mercurial\dispatch.py", line 65, in dispatch
return _runcatch(req)
File "hg\mercurial\dispatch.py", line 88, in _runcatch
return _dispatch(req)
File "hg\mercurial\dispatch.py", line 741, in _dispatch
cmdpats, cmdoptions)
File "hg\mercurial\dispatch.py", line 514, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "hg\mercurial\dispatch.py", line 831, in _runcommand
return checkargs()
File "hg\mercurial\dispatch.py", line 802, in checkargs
return cmdfunc()
File "hg\mercurial\dispatch.py", line 738, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File "hg\mercurial\util.py", line 472, in check
return func(*args, **kwargs)
File "hg\hgext\mq.py", line 3057, in strip
File "hg\hgext\mq.py", line 1118, in strip
repair.strip(self.ui, repo, revs, backup)
File "hg\mercurial\repair.py", line 184, in strip
bookmarks.write(repo)
AttributeError: 'module' object has no attribute 'write'
C:\Users\Matt\Projects\hg>hg log -r 9cc267fc29d0
abort: unknown revision '9cc267fc29d0'!
But a couple of strange things to note- the cset referenced in the traceback
doesn't exist, and I have no idea why the problem doesn't occur in the first
strip.
I originally ran into this rebasing mq patches, but this traceback was smaller
and eliminates variables like the content of the patches. The patches were
rebased across the cset referenced above if that matters.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list