~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-05-21 17:56:17 UTC
  • mfrom: (1711.2.3 jam-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060521175617-8b9ff193323cbfc3
(jam) Fix push to only push revisions in the current ancestry

Show diffs side-by-side

added added

removed removed

Lines of Context:
517
517
                        if new_transport.base == transport.base:
518
518
                            raise BzrCommandError("Could not create "
519
519
                                                  "path prefix.")
520
 
            dir_to = br_from.bzrdir.clone(location)
 
520
            dir_to = br_from.bzrdir.clone(location,
 
521
                revision_id=br_from.last_revision())
521
522
            br_to = dir_to.open_branch()
522
523
            count = len(br_to.revision_history())
523
524
        else: