Changeset 1027 in tailor for vcpx/bzr.py
- Timestamp:
- 12/06/05 09:54:19 (7 years ago)
- Hash name:
- 20051206085419-8b4aa-6ae91b0a494aebb4a4ad9a9d7cf23c041baab30c
- File:
-
- 1 edited
-
vcpx/bzr.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
vcpx/bzr.py
r1022 r1027 136 136 if len(new_entries) == 0: 137 137 return 138 139 from bzrlib.add import smart_add_tree 140 import os.path 138 141 self.log.info('Adding %s...', ', '.join(new_entries)) 139 s elf._b.add(new_entries)142 smart_add_tree(self._b.working_tree(),[os.path.join(self.basedir,e) for e in new_entries],recurse=False) 140 143 141 144 def _addSubtree(self, subdir): … … 148 151 149 152 from os.path import join 150 from bzrlib.add import smart_add_ branch153 from bzrlib.add import smart_add_tree 151 154 152 155 self.log.info('Recursively adding directory "%s"...', subdir) 153 smart_add_ branch(self._b, [join(self.basedir, subdir)], recurse=True)156 smart_add_tree(self._b.working_tree(), [join(self.basedir, subdir)], recurse=True) 154 157 155 158 def _commit(self, date, author, patchname, changelog=None, entries=None):
Note: See TracChangeset
for help on using the changeset viewer.
