Crash with KeyError in incremental mirroring

Bug #692901 reported by Leonid Borisenko
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Bazaar Hg Plugin
Fix Released
High
Jelmer Vernooij

Bug Description

Bug is reproducible on revision 327 of bzr-hg.

$ hg init hg-repo

$ echo "Initial content" > hg-repo/f1
$ hg addremove -R hg-repo
$ hg commit -R hg-repo -m "Initial commit"

$ bzr hg-import hg-repo bzr-repo

$ echo "Changed content" > hg-repo/f1
$ hg commit -R hg-repo -m "Change content in file f1"

$ bzr hg-import hg-repo bzr-repo

  <..full traceback of runned command (with bzr info) is attached...>
  File "/tmp/hg/fetch.py", line 208, in manifest_to_inventory_delta
    (fileid, ie.revision))
KeyError: ('hg:f1', 'hg-v1:4ecdc743682858e9f5bafa414b4c1894f9f9cd71')

Related branches

Revision history for this message
Leonid Borisenko (leonidborisenko) wrote :
Revision history for this message
Leonid Borisenko (leonidborisenko) wrote :
Jelmer Vernooij (jelmer)
Changed in bzr-hg:
status: New → Triaged
importance: Undecided → High
Jelmer Vernooij (jelmer)
Changed in bzr-hg:
status: Triaged → In Progress
assignee: nobody → Jelmer Vernooij (jelmer)
Jelmer Vernooij (jelmer)
Changed in bzr-hg:
milestone: none → 0.2
Jelmer Vernooij (jelmer)
Changed in bzr-hg:
status: In Progress → Fix Committed
Jelmer Vernooij (jelmer)
Changed in bzr-hg:
status: Fix Committed → Fix Released
milestone: 0.2 → 0.1.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.