/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 workingtree.py

  • Committer: Jelmer Vernooij
  • Date: 2018-03-09 03:23:13 UTC
  • mto: (0.200.1840 work)
  • mto: This revision was merged to the branch mainline in revision 6960.
  • Revision ID: jelmer@jelmer.uk-20180309032313-202392nu4925y7r3
Use change_type_same in workingtree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1412
1412
    """
1413
1413
    to_tree_sha = target.index.commit(store)
1414
1414
    return store.tree_changes(from_tree_sha, to_tree_sha, include_trees=True,
1415
 
            want_unchanged=want_unchanged)
 
1415
            want_unchanged=want_unchanged, change_type_same=True)
1416
1416
 
1417
1417
 
1418
1418
def changes_between_git_tree_and_working_copy(store, from_tree_sha, target,
1423
1423
    blobs = iter_fresh_blobs(target.index, target.abspath('.').encode(sys.getfilesystemencoding()))
1424
1424
    to_tree_sha = commit_tree(store, blobs)
1425
1425
    return store.tree_changes(from_tree_sha, to_tree_sha, include_trees=True,
1426
 
            want_unchanged=want_unchanged)
 
1426
            want_unchanged=want_unchanged, change_type_same=True)