/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 breezy/mutabletree.py

  • Committer: Jelmer Vernooij
  • Date: 2018-11-16 10:50:21 UTC
  • mfrom: (7164 work)
  • mto: This revision was merged to the branch mainline in revision 7165.
  • Revision ID: jelmer@jelmer.uk-20181116105021-xl419v2rh4aus1au
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
88
88
        Note that the command line normally calls smart_add instead,
89
89
        which can automatically recurse.
90
90
 
91
 
        This adds the files to the inventory, so that they will be
 
91
        This adds the files to the tree, so that they will be
92
92
        recorded by the next commit.
93
93
 
94
94
        :param files: List of paths to add, relative to the base of the tree.
342
342
            interpreted relative to the process cwd, not relative to the 
343
343
            tree.*  (Add and most other tree methods use tree-relative
344
344
            paths.)
345
 
        :param action: A reporter to be called with the inventory, parent_ie,
 
345
        :param action: A reporter to be called with the working tree, parent_ie,
346
346
            path and kind of the path being added. It may return a file_id if
347
347
            a specific one should be used.
348
 
        :param save: Save the inventory after completing the adds. If False
 
348
        :param save: Save the changes after completing the adds. If False
349
349
            this provides dry-run functionality by doing the add and not saving
350
 
            the inventory.
 
350
            the changes.
351
351
        :return: A tuple - files_added, ignored_files. files_added is the count
352
352
            of added files, and ignored_files is a dict mapping files that were
353
353
            ignored to the rule that caused them to be ignored.