finding the repository's parent

Matt Mackall mpm at selenic.com
Tue Aug 9 12:25:05 CDT 2005


On Tue, Aug 09, 2005 at 03:22:59PM +0200, Thomas Arendsen Hein wrote:
> * Anupam Kapoor <anupam.kapoor at gmail.com> [20050809 15:16]:
> > On 8/9/05, Mark Williamson <mark.williamson at cl.cam.ac.uk> wrote:
> > > > how can i find the parent for a given repository ? is there a command
> > > > like "hg parent" which just tells, from which repository a clone was
> > > > created ?
> > > 
> > > Assuming you created the repo with a clone, in .hg/hgrc the "default" path
> > > will be the repo you cloned and which future "pull"s will come from.
> >
> > thanks ! are there any plans to add a "hg parent" (or some such) command ? 
> 
> Just use 'hg paths', or if you really want to see only the default
> repo:
> hg paths|grep '^default ='

Or 'hg paths default'

-- 
Mathematics is the supreme nostalgia of our time.


More information about the Mercurial mailing list