logo       

RE: about hg merge: msg#00909

Subject: RE: about hg merge

Thomas Arendsen Hein <> wrote:
> * Ling, Xiaofeng <xiaofeng.ling@xxxxxxxxx> [20050830 08:38]:
> Merge changesets are mostly uninteresting. It seems that you think
> 'hg merge' is something that it isn't. With merge you don't move
> changesets around, but you link changesets together in a new way.  
> You can do this: Use 'hg co -m' to merge the heads and after this 'hg
> revert -r tip' to make the working directory look like the unmerged
> tip was before. Now commit.  
I'm confused about this, if use hg revert -r tip, the current working directory 
will become tip revision, won't that lose all the merge change?

>>> Now the good news: You can do many things you describe here with the
> Yes, because it doesn't add changesets with your local changes, but
> keeps a set (or queue) of patches against the unmodified tree. 
> 
>> BTW, seems 0.6c doesn't support extension yet. I had to use the
>> latest hg. 
> 
> I'd recommend to use the latest hg if you want to use mq, but there
> are older versions of mq in the 'old' subdirectory which may work
> with older hg versions.  
I had some try, but seems I've not understood all the processing yet.
I do:
hg qinit
copy /a.patch .hg/patches
edit .hg/series and add a.patch
hg qnew a.patch
now seems the patch became a new revision.
then
hg qrefresh    
    error, python trace
hg strip                
    error, python trace
seems I need to study more.

Thank you.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
boot-loaders.gr...    php.pear.genera...    debugging.valgr...    kde.redhat.user...    text.xml.xsl.ge...    culture.languag...    hardware.microc...    java.servicemix...    redhat.release....    web.zope.plone....    user-groups.lin...    opendarwin.webk...    video.mjpeg.use...    sysutils.bcfg2....    encryption.gpg....    lx-office.devel...    xfree86.forum/2...    mail.mutt.devel...    acpi.devel/2003...    qnx.openqnx.dev...    network.irc.irs...    freebsd.devel.m...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe