Marking directories in 'bzr status'
aaron.bentley at utoronto.ca
Tue Dec 5 18:47:53 GMT 2006
-----BEGIN PGP SIGNED MESSAGE-----
John Arbash Meinel wrote:
> It also gives support to Aaron's argument that Tree and RevisionTree
> shouldn't have an .unknowns() member.
Actually, there's a semi-twisted argument that the "unknowns" in the
status are actually "added-unknowns". And if there were a
"removed-unknowns", so that we could do this symmetrically (i.e.
comparing two working trees), it would be legitimate.
> Aaron, does your _iter_changes_from help with any of this?
Well, unversioned files do have a representation in that output. It
None, '/file/path/foo', True, (False, False), (None, None), (None,
'foo'), (None, 'file'), (False, False).
So it would certainly be possible to extend _iter_changes_from to
optionally output unversioned files. It probably doesn't make sense to
have it know whether unversioned files are unknown or ignored. For one
thing, there's no way to tell the difference between unknown and ignored
files in its output.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the bazaar