[darcs-devel] [patch] darcs pull --dry-run --summary giving
ambiguous output
Edwin Thomson
edwin.thomson at businesswebsoftware.com
Wed Nov 23 08:35:51 PST 2005
Hello
In darcs 1.0.4 and above, there is no guaranteed way to distinguish
between the end of a long comment and the start of the changes list when
doing a pull with summary view. For example, the following patch has as
the long comment "Something\n\n M ./me.txt -1 + 456":
Wed Nov 23 11:09:39 GMT 2005 edwint
* Evil long comment
Something
M ./me.txt -1 +456
M ./New Text Document.txt -1 +1
I have the following patch for it, which puts a blank line between the
long comment and the rest, making the output the same as what you get
for changes --summary.
Wed Nov 23 16:27:17 GMT 2005 edwin.thomson at businesswebsoftware.com
* Add newline between long comment and changed files list in dry-run
summary
Edwin
-------------- next part --------------
New patches:
[Add newline between long comment and changed files list in dry-run summary
edwin.thomson at businesswebsoftware.com**20051123162717] {
hunk ./DarcsArguments.lhs 772
- $$ prefix " " (patch_summary p)
+ $$ text "" $$ prefix " " (patch_summary p)
}
Context:
[remove tabs from darcs source file
Tommy Pettersson <ptp at lysator.liu.se>**20051120200002]
[Added a test for changes --context patch selection.
Daniel Bünzli <daniel.buenzli at epfl.ch>**20051120170157]
[Emacs ediff-merge example and explanation of --external-merge.
Dave Love <fx at gnu.org>**20051117154924]
[Fix patch selection for command changes --context
Daniel Bünzli <daniel.buenzli at epfl.ch>**20051117145112]
[fix bug in amInRepository.
David Roundy <droundy at darcs.net>**20051117131208
This is the bug that causes issue9. I'm a bit uncertain about this
patch--it looks obvious, but this is pretty subtle code.
]
[fix bug where darcs tries to delete open tempfile on win32
Will <will at glozer.net>**20051117023516]
[bump version to 1.0.5rc1
Tommy Pettersson <ptp at lysator.liu.se>**20051117111128]
[Fixed documentation of DARCS_GET_HTTP with curl.
Daniel Bünzli <daniel.buenzli at epfl.ch>**20051117062547]
[add --dont-edit-description opposite to --edit-description.
David Roundy <droundy at darcs.net>**20051116115632]
[Flag superfluous input using Test::Builder
Florian Weimer <fw at deneb.enyo.de>**20051112160533
This change makes sure that the test case that triggers this error
condition fails in a clean way (especially if test planning is not used,
but it should work with plans as well).
]
[English and markup fixes.
Dave Love <fx at gnu.org>**20051114224845]
[update web page to reflect 1.0.4 as latest stable source.
David Roundy <droundy at darcs.net>**20051113210144]
[TAG 1.0.4
David Roundy <droundy at darcs.net>**20051113134431]
Patch bundle hash:
8d91cb22dbcb3ec53b32e46944d6d3b8d76dada0
More information about the darcs-devel
mailing list