comparison en/hook.tex @ 244:980393101109

Fix up some incorrect and stale directory names. The .hg/data name problem was reported by Tim Hatch.
author Bryan O'Sullivan <bos@serpentine.com>
date Wed, 30 May 2007 09:02:19 -0700
parents 914babdc99c8
children 5f35a333ab9b
comparison
equal deleted inserted replaced
243:7df934d3dcb5 244:980393101109
1261 not created. 1261 not created.
1262 1262
1263 Parameters to this hook: 1263 Parameters to this hook:
1264 \begin{itemize} 1264 \begin{itemize}
1265 \item[\texttt{local}] A boolean. Whether the tag is local to this 1265 \item[\texttt{local}] A boolean. Whether the tag is local to this
1266 repository instance (i.e.~stored in \sfilename{.hg/tags}) or managed 1266 repository instance (i.e.~stored in \sfilename{.hg/localtags}) or
1267 by Mercurial (stored in \sfilename{.hgtags}). 1267 managed by Mercurial (stored in \sfilename{.hgtags}).
1268 \item[\texttt{node}] A changeset ID. The ID of the changeset to be tagged. 1268 \item[\texttt{node}] A changeset ID. The ID of the changeset to be tagged.
1269 \item[\texttt{tag}] A string. The name of the tag to be created. 1269 \item[\texttt{tag}] A string. The name of the tag to be created.
1270 \end{itemize} 1270 \end{itemize}
1271 1271
1272 If the tag to be created is revision-controlled, the \hook{precommit} 1272 If the tag to be created is revision-controlled, the \hook{precommit}
1372 This hook is run after a tag has been created. 1372 This hook is run after a tag has been created.
1373 1373
1374 Parameters to this hook: 1374 Parameters to this hook:
1375 \begin{itemize} 1375 \begin{itemize}
1376 \item[\texttt{local}] A boolean. Whether the new tag is local to this 1376 \item[\texttt{local}] A boolean. Whether the new tag is local to this
1377 repository instance (i.e.~stored in \sfilename{.hg/tags}) or managed 1377 repository instance (i.e.~stored in \sfilename{.hg/localtags}) or
1378 by Mercurial (stored in \sfilename{.hgtags}). 1378 managed by Mercurial (stored in \sfilename{.hgtags}).
1379 \item[\texttt{node}] A changeset ID. The ID of the changeset that was 1379 \item[\texttt{node}] A changeset ID. The ID of the changeset that was
1380 tagged. 1380 tagged.
1381 \item[\texttt{tag}] A string. The name of the tag that was created. 1381 \item[\texttt{tag}] A string. The name of the tag that was created.
1382 \end{itemize} 1382 \end{itemize}
1383 1383