How to use the --repository option
Michael Smith
michael.smith at thalesgroup.com.au
Sun Feb 1 15:46:11 CST 2009
On Mon, 2009-01-19 at 16:37 -0600, Matt Mackall wrote:
> On Mon, 2009-01-19 at 13:23 -0800, jfuqua wrote:
> > I have tried all sorts of combinations on using the --repository option on
> > the commit command. I am trying to automate a scheduled task to perform
> > commits on a specific repository.
>
> You may be interested in --cwd.
I discovered recently that
hg --repository /path/to/repo $command
reads $PWD/.hg/hgrc
I am not sure if this is supposed to happen.
DISCLAIMER:---------------------------------------------------------------------------
This e-mail transmission and any documents, files and previous e-mail messages
attached to it are private and confidential. They may contain proprietary or copyright
material or information that is subject to legal professional privilege. They are for
the use of the intended recipient only. Any unauthorised viewing, use, disclosure,
copying, alteration, storage or distribution of, or reliance on, this message is
strictly prohibited. No part may be reproduced, adapted or transmitted without the
written permission of the owner. If you have received this transmission in error, or
are not an authorised recipient, please immediately notify the sender by return email,
delete this message and all copies from your e-mail system, and destroy any printed
copies. Receipt by anyone other than the intended recipient should not be deemed a
waiver of any privilege or protection. Thales Australia does not warrant or represent
that this e-mail or any documents, files and previous e-mail messages attached are
error or virus free.
--------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20090202/647e629d/attachment.htm
More information about the Mercurial
mailing list