check the current working directory

vsh vsh426 at gmail.com
Sat Apr 3 09:09:09 CDT 2010


On Sat, Apr 3, 2010 at 6:49 PM, maven apache <apachemaven0 at gmail.com> wrote:

> Hi:
> I am new in mercurial, I want to know if there is a command can show me the
> version of the current working .
>
hg identify [--help for more options]

>

For example, I use the command:
>
>  $RepoB>hg push RepoA
>
> And now how can I know the current version of working copy of RepoA though
> I know I can use the "hg update" to make it synchronized with RepoB.
>
hg identify --cwd RepoA

>
> Also,is the pull opposite to push? Does these command override the
> repository?
>
> push:
http://hgbook.red-bean.com/read/a-tour-of-mercurial-the-basics.html#id348825
pull:
http://hgbook.red-bean.com/read/a-tour-of-mercurial-the-basics.html#sec:tour:pull

> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>
> hope that helps :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial/attachments/20100403/2c500222/attachment.htm>


More information about the Mercurial mailing list