How to avoid recompilation after changing between branches?

Jouni Airaksinen Jouni.Airaksinen at descom.fi
Thu Jan 20 04:00:00 CST 2011


Have a separate local clone of the repository for the stable and push/pull 
changes between those two. That way you won't need to change branch in 
your dev branch.



From:   "PARK, Kyung-Kook" <kyungk at gmail.com>
To:     mercurial <mercurial at selenic.com>
Date:   20.01.2011 07.47
Subject:        How to avoid recompilation after changing between 
branches?
Sent by:        mercurial-bounces at selenic.com



Hello mercurial users,

Say, I have two branches in my hg repo.
One is called 'dev' and the other is 'stable' and
they mean exactly what they actually are.

I work on 'dev' most of the time but sometimes
I change to 'stable' just to merge with current 'dev'
and push it to server.

As soon as I finish my merge, I come back to 'dev' and
keep working. But, because I had updated to 'stable'
branch once during this process, the compiler thinks
my files are modified even though they are actually not.

Is there a decent way to avoid this behavior?

Kyung
_______________________________________________
Mercurial mailing list
Mercurial at selenic.com
http://selenic.com/mailman/listinfo/mercurial

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial/attachments/20110120/0ef7dd99/attachment.htm>


More information about the Mercurial mailing list