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

  • Committer: Jelmer Vernooij
  • Date: 2020-06-15 01:29:36 UTC
  • mfrom: (7490.40.4 work)
  • mto: (7490.40.19 work)
  • mto: This revision was merged to the branch mainline in revision 7516.
  • Revision ID: jelmer@jelmer.uk-20200615012936-1adqbu592y7lzmy8
Merge upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1700
1700
                    e, osutils._fs_enc)
1701
1701
            if stat.S_ISDIR(st.st_mode):
1702
1702
                blob = Tree()
1703
 
            else:
 
1703
            elif stat.S_ISREG(st.st_mode) or stat.S_ISLNK(st.st_mode):
1704
1704
                blob = blob_from_path_and_stat(
1705
1705
                    target.abspath(e).encode(osutils._fs_enc), st)
 
1706
            else:
 
1707
                continue
1706
1708
            store.add_object(blob)
1707
1709
            np = np.encode('utf-8')
1708
1710
            blobs[np] = (blob.id, cleanup_mode(st.st_mode))