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

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-11-16 07:18:33 UTC
  • mfrom: (7141.3.3 fix1799482)
  • Revision ID: breezy.the.bot@gmail.com-20181116071833-e01b0833f3hkc3et
Report correct paths when running "brz add" in git repositories.

Merged from https://code.launchpad.net/~jelmer/brz/fix1799482/+merge/357734

Show diffs side-by-side

added added

removed removed

Lines of Context:
429
429
        ignored = {}
430
430
        user_dirs = []
431
431
        def call_action(filepath, kind):
 
432
            if filepath == '':
 
433
                return
432
434
            if action is not None:
433
435
                parent_path = posixpath.dirname(filepath)
434
436
                parent_id = self.path2id(parent_path)
498
500
                            continue
499
501
                        if subp in conflicts_related:
500
502
                            continue
501
 
                        call_action(filepath, kind)
 
503
                        call_action(subp, kind)
502
504
                        if save:
503
505
                            self._index_add_entry(subp, kind)
504
506
                        added.append(subp)