Hacker News new | ask | show | jobs
by krupan 4021 days ago
With the mercurial evolve extension this is simply:

hg commit # "stash" away whatever you had lying around

hg update <rev of older commit>

# make your changes

hg amend

hg evolve -a