Scope of operations

John A Meinel john at arbash-meinel.com
Thu Oct 20 05:51:25 BST 2005


Mark Rosenstand wrote:
> On Tue, 18 Oct 2005 18:26:31 +0200, Matthieu Moy wrote:
>
>>It could become the default, but I don't think it should: partial tree
>>operations allow you to commit something that never actually existed
>>as a working tree, and which therefore has never been tested.
>>
>>So, IMO, they must be available, but they should not be the default.
>
>
> That's a good point. But what about operations such as status?
> Currently this happens:
>
> 	[user at localhost fooapp]$ bzr status
> 	added:
> 	  libfoo/libfoo.h
> 	[user at localhost fooapp]$ cd libfoo
> 	[user at localhost libfoo]$ bzr status
> 	added:
> 	  libfoo/libfoo.h
>
> What I (as a dumb user who wants to do as little learning and much
> working as possible) would expect to happen is this:
>
> 	[user at localhost libfoo]$ bzr status
> 	added:
> 	  libfoo.h
>
> Am I just a svn-poisoned soul? :-)
>

But what would you have happen with this:
	[user at localhost fooapp]$ bzr status
	added:
	  libfoo/libfoo.h
	  otherstuff/xx.h
        modified:
          main.c
	[user at localhost fooapp]$ cd libfoo
	[user at localhost libfoo]$ bzr status
	added:
	  libfoo/libfoo.h
          otherstuff/xx.h
          main.c

Would you like it to do this?
	[user at localhost libfoo]$ bzr status
	added:
	  libfoo.h
          ../otherstuff/xx.h
          ../main.c

Now, there is a case where you do:
	[user at localhost libfoo]$ bzr status .
	added:
	  libfoo/libfoo.h


The "." indicates you only care about the current directory (and its
children).

That almost certainly should do:
	[user at localhost libfoo]$ bzr status .
	added:
	  libfoo.h

John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051019/99c211cf/attachment.pgp 


More information about the bazaar mailing list