~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to baz_import.py

  • Committer: Aaron Bentley
  • Date: 2005-11-03 22:59:30 UTC
  • Revision ID: aaron.bentley@utoronto.ca-20051103225930-b60e83b119032648
Handled the case where the first ancestor is in an unregistered archive.

Show diffs side-by-side

added added

removed removed

Lines of Context:
230
230
 
231
231
    try:
232
232
        ancestors = version_ancestry(version)
 
233
        if len(ancestors) == 0 and not ancestors[0].archive.is_registered():
 
234
            ancestors = ancestors[1:]
233
235
    except NoSuchVersion, e:
234
236
        raise UserError(e)
235
237