split a set of changesets up based on filesets
Gregory Szorc
gregory.szorc at gmail.com
Thu Jan 15 03:28:01 UTC 2015
I use evolve's `hg uncommit` command to undo commits and "stage" the
corresponding changes in your working directory. I then use `hg record` to
interactively select the bits that I want and craft commits until I'm
happy. It can be a bit tedious with many files. But if you find yourself
doing this, I think you should ask yourself why you have single commits
that are so large and unwieldy :)
On Wed, Jan 14, 2015 at 4:23 AM, Matthew Turk <matthewturk at gmail.com> wrote:
> Hi all,
>
> I have a big set of monolithic changes that I'd like to split up into
> multiple changes based on file patterns. I'm happy to use evolve-aware
> commands and functions, but I'm not sure how to split up a changeset like
> that.
>
> Given a revision specifier, is it possible to apply all the changes in a
> squashed way but *only* to the files specified by a given fileset?
>
> Thanks for any ideas,
>
> -Matt
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20150114/eab7da2c/attachment-0002.html>
More information about the Mercurial
mailing list