autoadd
Jeff Bauer
jbauer at rubic.com
Tue Sep 23 21:00:54 BST 2008
John Arbash Meinel wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Jeff Bauer wrote:
>
>> I've just started using bzr to do revision control in my home
>> directory. One of the annoyances is constantly having to manually
>> add files from specific directories that I always want checked in,
>> e.g. tomboy notes. So I wrote a quick program to read in
>> directories from ~/.bzradd and add them to the revision set
>> if they're listed as unknown status.
>>
>> Is there a better way to accomplish the same task? If not, would
>> this technique be worth expanding into a bzr plugin?
>>
>>
>>
>
> Do you realize that just doing "bzr add" with no extra parameters, will
> add all unknown files?
>
> John
> =:->
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (Cygwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkjZOl0ACgkQJdeBCYSNAANmtQCgtI3zZyT3e+4Z93SAZT2c2jt9
> M3QAoMnzWCd7BFggrwwnzRe6J7GcuJH2
> =T1kd
> -----END PGP SIGNATURE-----
>
Thanks, but I don't want to add all unknown files. Paul Evans'
suggestion to use this makes the most sense:
bzr add `cat ~/.bzradd`
--
Jeff Bauer
Rubicon, Inc.
More information about the bazaar
mailing list