octave-maintainers
[Top][All Lists]
Advanced

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

Re: adapting changesets without starting over


From: Ben Abbott
Subject: Re: adapting changesets without starting over
Date: Sat, 27 Aug 2011 18:01:51 -0400

On Aug 27, 2011, at 3:30 PM, c. wrote:

At the moment, though, the approach of just manually editing the changeset file looks very attractive.

If I understand Jordi's concern correctly (pls, correct me if I'm off), then I think you can do something like ...

1) remove Changelog diff from the changeset and place it in changelog.txt
2) run the commands ...

hg pull
hg update -C default
patch -p1 cgs.changeset
hg commit --logfile changelog.txt
hg view

3) Verify the changeset is correct

4.a) If correct, push push the change

hg push ssh://address@hidden/octave

4.b) If incorrect, rollback/revert the changeset

hg rollback
hg revert --all

Ben

reply via email to

[Prev in Thread] Current Thread [Next in Thread]