[PATCH] mq: record more data in patchheader class
Mads Kiilerich
mads at kiilerich.com
Sun Jan 2 15:55:38 CST 2011
Steve Borho wrote, On 01/01/2011 12:13 AM:
> # HG changeset patch
> # User Steve Borho<steve at borho.org>
> # Date 1293836978 21600
> # Node ID a28115e8e6e8cf8a4e2751898ca3dde8cc351d10
> # Parent d85d8ad88de938f4a6a5a0e3818eab70fc0c2ec0
> mq: record more data in patchheader class
> Combined, these make mq.patchheader() very useful for parsing and
> preserving a patch header through edits.
Just to make it clear: will this actually change anything in Mercurial
(which then should be documented and tested?), or is it just something
TortoiseHg could benefit from?
> * parse branch and nodeid header lines
Does this mean that patches will be pushed back to the branch they were
qref'ed/qpop'ed from? If so: Is that an acceptable change, and will we
then need some way of overruling this in order to be able to move
patches from one branch to another?
> * remember the line number where diffs started
What is the rationale for this?
/Mads
More information about the Mercurial-devel
mailing list