hg qimport's -r option is the key. You may not have to create a new
repository to put your changes onto because hg qimport -r turns a
regular commit into a patch completely, removing it from your local history.

Gabe

On 03/26/12 08:51, Steve Reinhardt wrote:
> The details are probably buried in that page Ali linked to, but in
> general I think you want to start over with a fresh clone of the gem5
> repo, extract your changes from your old repo as a patch queue using
> 'hg qimport' in the old repo, and then move the patches over to the
> new repo (I think you can just move the .hg/patches dir, or you can
> use 'hg qimport' in the new repo and point it at the .hg/patches dir
> in the old repo).
>
> Steve
>
> On Mon, Mar 26, 2012 at 8:41 AM, Ali Saidi <[email protected]
> <mailto:[email protected]>> wrote:
>
>     Take a look at:
>
>     http://mercurial.selenic.com/wiki/EditingHistory
>
>      
>
>     Ali
>
>     On 26.03.2012 15 <tel:26.03.2012%2015>:59, Paul Rosenfeld wrote:
>
>>     I'm sorry this isn't directly a GEM5 question, but my google fu
>>     is failing me. 
>>
>>     I have my gem5 repo that I've been working on and making commits
>>     directly to my local repository, but I really should be adding
>>     these changes to a mercurial queue and not straight to the repo.
>>     Right now all my changes are on top since I haven't done any
>>     updates from hg. Is there some quick way for me to take these
>>     commits out of the repo and move them into a mercurial queue?
>>     Thanks, 
>>     Paul
>
>      
>
>      
>
>     _______________________________________________
>     gem5-users mailing list
>     [email protected] <mailto:[email protected]>
>     http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
>
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to