Making a server as default
Bharath Narayan
bharath144 at gmail.com
Mon Jun 1 00:49:57 CDT 2009
hey, thanks for help people.
-Bharath
On Mon, Jun 1, 2009 at 12:42 AM, Isaac Jurado <diptongo at gmail.com> wrote:
> > Hi,
> > I've just started using Mercurial on Windows.
> > I've been using hg pull <server_link> to pull data from the server. Is
> there
> > way I can make the server as default so that I don't have to specify the
> > servername everytime.
>
> Edit your clone .hg/hgrc and append (no indent needed):
>
> [paths]
> default = server_link
>
> And that works for both pull and push. If you want to have different
> push and pull defaults, you can use:
>
> [paths]
> default = pull_link
> default-push = push_link
>
> If you change "default" by "foo", then you can do "hg pull foo" and "hg
> push foo".
>
> Cheers.
>
> --
> Isaac Jurado Peinado
> http://www.krenel.net
>
> "The noblest pleasure is the joy of understanding."
> Leonardo da Vinci
>
--
Thanks,
-Bharath
http://bloggerbharath.blogspot.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20090601/0c8f710d/attachment.htm
More information about the Mercurial
mailing list