/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

Fix push to only push revisions in the current ancestry. (bug???)

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: