Hi all,

  I've been using bazaar for a while now, and something I missed was full 
log reports sent with the hook for each commit. Maybe I've missed 
something, but wouldn't an ARCH_LOG environment variable be nice?

So I went to src/baz/libarch/commit.c and changed in arch_commit():

  arch_run_hook("commit", blabla...)

to

  arch_run_hook ("commit", "ARCH_ARCHIVE", arch->official_name,
  "ARCH_REVISION", revision, "ARCH_TREE_ROOT", tree->root, "ARCH_LOG",
  cooked_log, 0);

  Which works for me. So I thought that someone might want to add it to 
bazaar, if there isn't already a way of doing this which I've completely 
missed.

  Cheers,
-- 
__________________
Miguel de Benito.

http://8027.org

-- 
__________________
Miguel de Benito.

http://8027.org

Attachment: pgpjI3S4xMRVr.pgp
Description: PGP signature

_______________________________________________
Gnu-arch-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnu-arch-users

GNU arch home page:
http://savannah.gnu.org/projects/gnu-arch/

Reply via email to