`bzr add --no-recurse` behavior

Alexander Belchenko bialix at ukr.net
Sun Nov 8 01:24:16 GMT 2009


John Arbash Meinel пишет:
> Alexander Belchenko wrote:
>> I want to check is the following behavior is by design rather than bug.
>> So `add --no-recurse` will add only explicitly named files?
> 
>> I found this accidentally while debugging qbzr.
> 
> I'm not 100% sure, but you might try:
> 
> mkdir baz
> cd baz
> bzr add --dry-run --no-recurse
> 
> My guess is that it will only add explicitly named files, but that if
> nothing is supplied "." is considered to be supplied.

Yes:

C:\Temp\3>mkdir foo

C:\Temp\3\foo>bzr add --no-recurse
adding foo

C:\Temp\3>bzr st
added:
  foo/
unknown:
  bar




More information about the bazaar mailing list