Bug 1812 - hg cat with bundle from hg incoming causes 'abort: 00changelog.i@...: unknown parent!
Summary: hg cat with bundle from hg incoming causes 'abort: 00changelog.i@...: unknown...
Status: RESOLVED FIXED
Alias: None
Product: Mercurial
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: unspecified
Hardware: All All
: normal bug
Assignee: Benoit Boissinot
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-25 09:18 UTC by Martin Kneissl
Modified: 2012-02-01 14:00 UTC (History)
4 users (show)

See Also:
Python Version: ---


Attachments
(33 bytes, application/octet-stream)
2009-08-25 09:18 UTC, Martin Kneissl
Details
(33 bytes, text/plain)
2009-08-25 09:19 UTC, Martin Kneissl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Kneissl 2009-08-25 09:18 UTC
When calling hg cat with a bundle resulting from a hg incoming call, hg cat
aborts with 

  abort: 00changelog.i@...: unknown parent!

when started from a directory below the working copy root.

See attached shell / cmd script that reproduces the problem.

See out.txt for 'sh -x testscript' output.

Tested with hg 1.3.1 on freebsd and TortoiseHG 0.8.1/Mercurial 1.3.1 on
Windows XP.
Comment 1 Benoit Boissinot 2009-10-03 10:20 UTC
Ok, I see the problem.

This is a direct conflict with:
changeset:   6314:9a1c59283ad3
user:        John Mulligan <phlogistonjohn@asynchrono.us>
date:        Sat Mar 15 12:04:28 2008 -0400
summary:     Add ability to directly clone from all-history bundles


I don't see a way to fix it without breaking all-history bundles :/
Comment 2 HG Bot 2012-02-01 14:00 UTC
Fixed by http://selenic.com/repo/hg/rev/4b7aa1c899dc
Matt Mackall <mpm@selenic.com>
bundlerepo: try to find containing repo on creation (issue1812)

(please test the fix)
Comment 3 Bugzilla 2012-05-12 09:02 UTC

--- Bug imported by bugzilla@serpentine.com 2012-05-12 09:02 EDT  ---

This bug was previously known as _bug_ 1812 at http://mercurial.selenic.com/bts/issue1812
Imported an attachment (id=1261)
Imported an attachment (id=1262)