Marking directories in 'bzr status'

Aaron Bentley aaron.bentley at utoronto.ca
Tue Dec 5 18:47:53 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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
would be
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.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFFdb7Z0F+nu1YWqI0RAgqOAJ9tZCo6pa32PBzgdUSZvqtzyqw8AACeJZJ6
TPPqis6uX6l53Up/ZxCbpVY=
=CbOQ
-----END PGP SIGNATURE-----




More information about the bazaar mailing list