darcs

Issue 1622 Support literal % in command lines.

Title Support literal % in command lines.
Priority wishlist Status given-up
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, kowey, twb
Assigned To
Topics

Created on 2009-09-21.03:00:24 by twb, last changed 2017-07-30.23:20:26 by gh.

Messages
msg8846 (view) Author: twb Date: 2009-09-21.03:00:22
While investigating issue1066, I found that there is no way to have a
literal % in --diff-command, e.g.

    darcs diff --diff-command 'printf %%s\\n %1 %2'

I guess this can be fixed by extending the ftable in
CommandLine.commandline with ('%',"%").
msg8847 (view) Author: twb Date: 2009-09-21.03:06:33
I meant issue1606, not issue1066.
msg8848 (view) Author: kowey Date: 2009-09-21.07:03:21
Backslash %?
msg8849 (view) Author: twb Date: 2009-09-21.08:09:58
On Mon, Sep 21, 2009 at 07:03:24AM +0000, Eric Kow wrote:
> Backslash %?

I thought I tried that.

$ darcs diff --diff-command 'printf \%\\\\n %1 %2'

darcs failed:  (line 1, column 9):
unexpected "\\"
expecting "%<"
msg8858 (view) Author: kowey Date: 2009-09-21.22:09:18
OK: guess we just need a patch
History
Date User Action Args
2009-09-21 03:00:24twbcreate
2009-09-21 03:06:36twbsetnosy: darcs-devel, twb, dmitry.kurochkin
messages: + msg8847
2009-09-21 07:03:24koweysetnosy: + kowey
messages: + msg8848
2009-09-21 08:10:00twbsetnosy: kowey, darcs-devel, twb, dmitry.kurochkin
messages: + msg8849
2009-09-21 22:09:22koweysetpriority: wishlist
status: unknown -> needs-implementation
messages: + msg8858
nosy: kowey, darcs-devel, twb, dmitry.kurochkin
2017-07-30 23:20:26ghsetstatus: needs-implementation -> given-up