Going to make hooks obsolete... Should I?
hooks option suggested by Takashi Okamoto (thanks, Takashi!) is really cool but... When added this feature I thought that maybe it’s not a good idea to copy files inside Ruby process. For copying files Ruby also runs shell... At that time I decided to think about a better implementation meanwhile including hooks...
Now seems a better idea was suggested by Blaž Podržaj. I believe it’s better to use the on creation script to copy hooks! So after adding these scripts I’m going to make
hgrc options obsolete and remove them in future versions!
What do you think?
#2 Updated by Blaž Podržaj about 12 years ago
So to clear things up... you export 3 variables right? And $3 is actually a project identifier? I’m asking becaus I’m working on a script that will generate hooks on-the-fly and project identifier needs to be part of those hooks. The idea is to optimize post-commit to only fetch changesets from their project repo.