bzr bug 30159 (paths are always from root)

Alaa Salman alaasalman at terra.net.lb
Wed Jul 16 11:37:10 BST 2008


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

Martin Pool wrote:
| Yes, it still needs to be worked on and I don't think any requirements
| have changed, but it would be worth making sure people agree with the
| way you're going to approach it.
|
| I think by default, we should show changes across the whole tree, but
| relative to your cwd.  So if I'm in bzrlib I might get
|
|   modified:
|     ../doc/index.txt
|     bzrdir.py
|
| then if I want to see changes on only the subtree I should ask for
| that.  This is consistent with bzr versioning the whole tree
| atomically and commit working across the whole tree by default.  At
| any rate I think making this change is useful orthogonal to possibly
| working only from the cwd down.

I think this is brilliant. This bug is really annoying. I once tried to
fix it, but i found it to be too involved and so not as easy a fix as i
had thought.

If i remember correctly, the reason i gave up was that the working tree
dealt with full paths in everything it did. So the function that prints
the status simply spits out the paths that the WT has told it has
changes. Or something along those lines. Thinking about it now, i could
have just used the cwd and the full path to just print the proper path
without messing with the bzrlib api.


Oh well...

- --
Regards,
Alaa Salman
Entrepreneur, Contractor, Programmer
http://www.codedemigod.com
Free Software Foundation Associate Member #6304

"One machine can do the work of fifty ordinary men. No machine can do
the work of one extraordinary man." ---Elbert Hubbard
"Never measure the height of a mountain until you have reached the top.
Then you will see how low it was." ---Dag Hammarskjold
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIfc9WrnuwQbrp1NQRAkzFAJwPFUEKmH0dImF/trUkxBrMmZpnTACgipfv
fO7bN1XBKZtrGmUcDCCpf3I=
=84VK
-----END PGP SIGNATURE-----



More information about the bazaar mailing list