File groups
Martin Pool
mbp at sourcefrog.net
Wed Jan 25 21:04:48 GMT 2006
On 24 Jan 2006, Aaron Bentley <aaron.bentley at utoronto.ca> wrote:
> The other idea from PyGTA was file groups. The idea that for some
> projects, a group of files may be a semantic unit. (foo.c, foo.h being
> an example) The idea was that commits (and possibly other operations)
> must always be applied to both files, not one. We didn't discuss what
> to do if the user tried to commit only one, but the two obvious options are:
> 1. commit both
> 2. error out
That's an interesting idea. Another way to keep things in track is for
a pre-commit hook to write out the in-memory tree that will be committed
to a temporary directory and run a check in there - so that should trap
committing source without a header, etc.
--
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060126/7f4c4221/attachment.pgp
More information about the bazaar
mailing list