This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] bitkeeper gone in 2 weeks - which RCS?

To: Soh Tk-r28629 <tksoh@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] bitkeeper gone in 2 weeks - which RCS?
From: Matt Mackall <mpm@xxxxxxxxxxx>
Date: Mon, 20 Jun 2005 17:29:55 -0700
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Mercurial List <mercurial@xxxxxxxxxxx>
Delivery-date: Tue, 21 Jun 2005 07:58:07 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <0B3CDF75128AD5119E0800D0B782934E16BF94F9@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <0B3CDF75128AD5119E0800D0B782934E16BF94F9@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Tue, Jun 21, 2005 at 08:16:59AM +0800, Soh Tk-r28629 wrote:
> > -----Original Message-----
> > If you clone/init a repository from the source(or a mirror of it), you
> > get everything in it. If you want to then look at a specific revision of
> > the code, you: hg checkout -C [revision]
> How can I tell what revision is currently checked out this directory? 'hg id' 
> seems to give too little information.

hg parents should help.
> Can I then make changes to this revision, then commit, and later update to 
> tip? What are the commands to achieve this?

Almost. When you commit, your commit becomes the new tip. So you'll
need the heads command here to find the other head you want to merge

hg commit
hg heads 
hg up <id>

And this will usually imply a branch merge, so you'll need:

hg up -m <id>

Mathematics is the supreme nostalgia of our time.

Xen-devel mailing list