[Bug 4857] New: Import --exact fails with "abort: patch is damaged or loses information"
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Mon Sep 28 18:27:16 UTC 2015
http://bz.selenic.com/show_bug.cgi?id=4857
Bug ID: 4857
Summary: Import --exact fails with "abort: patch is damaged or
loses information"
Product: Mercurial
Version: default branch
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: bug
Priority: normal
Component: Mercurial
Assignee: bugzilla at selenic.com
Reporter: gregory.szorc at gmail.com
CC: mercurial-devel at selenic.com
STR:
$ hg clone https://hg.mozilla.org/mozilla-central
$ cd mozilla-central
$ hg import https://hg.mozilla.org/try/rev/c449ec4ff851 --exact --traceback
applying https://hg.mozilla.org/try/rev/c449ec4ff851
899 files updated, 0 files merged, 106 files removed, 0 files unresolved
transaction abort!
rollback completed
Traceback (most recent call last):
File "/Users/gps/lib/python2.7/site-packages/mercurial/dispatch.py", line
187, in _runcatch
return _dispatch(req)
File "/Users/gps/lib/python2.7/site-packages/mercurial/dispatch.py", line
920, in _dispatch
cmdpats, cmdoptions)
File "/Users/gps/lib/python2.7/site-packages/mercurial/dispatch.py", line
679, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "/Users/gps/lib/python2.7/site-packages/mercurial/dispatch.py", line
1051, in _runcommand
return checkargs()
File "/Users/gps/lib/python2.7/site-packages/mercurial/dispatch.py", line
1011, in checkargs
return cmdfunc()
File "/Users/gps/lib/python2.7/site-packages/mercurial/dispatch.py", line
917, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File "/Users/gps/lib/python2.7/site-packages/mercurial/util.py", line 796, in
check
return func(*args, **kwargs)
File "/Users/gps/lib/python2.7/site-packages/mercurial/commands.py", line
4354, in import_
msgs, hg.clean)
File "/Users/gps/lib/python2.7/site-packages/mercurial/cmdutil.py", line 985,
in tryimportone
raise util.Abort(_('patch is damaged or loses information'))
Abort: patch is damaged or loses information
abort: patch is damaged or loses information
I can reproduce this with 3.2 to @. There is a chance the changeset on the
server could be "corrupted" somehow. `hg pull -r c449ec4ff851
https://hg.mozilla.org/try` works, so I suspect something in import is busted.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list