Rev 2785: Review feedback. in http://people.ubuntu.com/~robertc/baz2.0/workingtree
Robert Collins
robertc at robertcollins.net
Tue Sep 25 09:41:39 BST 2007
At http://people.ubuntu.com/~robertc/baz2.0/workingtree
------------------------------------------------------------
revno: 2785
revision-id: robertc at robertcollins.net-20070925084129-ca0kd25h23dmunrs
parent: robertc at robertcollins.net-20070925055031-ybtg84jah7lei4gc
committer: Robert Collins <robertc at robertcollins.net>
branch nick: workingtree
timestamp: Tue 2007-09-25 18:41:29 +1000
message:
Review feedback.
modified:
bzrlib/workingtree.py workingtree.py-20050511021032-29b6ec0a681e02e3
=== modified file 'bzrlib/workingtree.py'
--- a/bzrlib/workingtree.py 2007-09-25 05:50:31 +0000
+++ b/bzrlib/workingtree.py 2007-09-25 08:41:29 +0000
@@ -702,7 +702,7 @@
if updated:
self.set_parent_ids(parents, allow_leftmost_as_ghost=True)
- def path_content_summary(self, path, _lstat=os.lstat,
+ def path_content_summary(self, path, _lstat=osutils.lstat,
_mapper=osutils.file_kind_from_stat_mode):
"""See Tree.path_content_summary."""
abspath = self.abspath(path)
@@ -712,7 +712,7 @@
if getattr(e, 'errno', None) == errno.ENOENT:
# no file.
return ('missing', None, None, None)
- # propogate other errors
+ # propagate other errors
raise
kind = _mapper(stat_result.st_mode)
if kind == 'file':
More information about the bazaar-commits
mailing list