[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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
with.

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
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.