Always apply (and hide) some patches
Augie Fackler
lists at durin42.com
Sat Jun 3 17:04:23 UTC 2017
On Sat, Jun 3, 2017 at 8:38 AM, Danylo Hlynskyi <abcz2.uprola at gmail.com> wrote:
> I have a need for a strange workflow.
>
> I'd like to add another patch layer between Working Directory and actually
> recorded commits.
>
> Similarities with Working Directory:
> - is preserved alongside with Working Directory on `hg update`
> - isn't showed as a commit in repo (in `hg log`)
>
> Similarities with regular commits:
> - changes are applied to sources
> - changes are not shown in `hg status` or `hg diff`
> - in push/pull it acts as commit in secret phase
>
> More features:
> - merge, rebase, histedit, commit should all have a postHook, that rebases
> patch layer transparently
> - patch layer should have on/off switch, which converts to/from MQ, or even
> normal commits
> - another "local" entity alongside with local hgignore, local bookmarks and
> local MQ
>
> Is it possible to achive this with modern Mercurial?
Not with the tool as it exists today, no. I suppose it'd be doable as
an extension, but there would be a lot of open UI questions in my
mind, and I don't know that there would be a lot of enthusiasm for
such functionality upstream. That said, if you want to pursue writing
an extension, by all means go for it!
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial
>
More information about the Mercurial
mailing list