Always apply (and hide) some patches

Danylo Hlynskyi abcz2.uprola at gmail.com
Sat Jun 3 12:38:55 UTC 2017


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial/attachments/20170603/0a50288b/attachment.html>


More information about the Mercurial mailing list