[issue1602] hook scripts do not run on hg clone from local path without --pull

David Ripton mercurial-bugs at selenic.com
Tue Apr 7 14:26:05 CDT 2009


New submission from David Ripton <d+hg at ripton.net>:

Mercurial 1.2, Linux:

"hg clone /local/path/1 /local/path/2" -> hooks do not run

"hg clone --pull /local/path/1 /local/path/2"  -> hooks do run

"hg clone https://localhost/path/1 /local/path/2" -> hooks do run (the URL
resolves to the same source repository as in the above examples)

Looks like the clone-via-hardlink path skips the hooks.  If that's a bug, it
should be fixed.  If it's not a bug, it should be documented.

----------
messages: 9020
nosy: dripton
priority: bug
status: unread
title: hook scripts do not run on hg clone from local path without --pull

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1602>
____________________________________________________



More information about the Mercurial-devel mailing list