GNU bug report logs -
#1384
vc-diff-switches inconsistencies
Previous Next
Reported by: Glenn Morris <rgm <at> gnu.org>
Date: Tue, 23 Sep 2008 15:05:05 UTC
Severity: normal
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Wed, 3 Dec 2008 02:59:34 -0500
with message-id <18742.15462.814713.128649 <at> fencepost.gnu.org>
and subject line Re: Bug#1384
has caused the Emacs bug report #1384,
regarding vc-diff-switches inconsistencies
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don <at> donarmstrong.com
immediately.)
--
1384: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1384
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Three related problems:
1)
Apparently the hg backend of vc ignores both diff-switches and
vc-diff-switches.
2)
The vc-hg-diff-switches variables is not defined.
3)
The hg backend is special with respect to the vc-diff-switches
variable. Its doc says:
A string or list of strings specifying switches for diff under VC.
When running diff under a given BACKEND, VC concatenates the values of
`diff-switches', `vc-diff-switches', and `vc-BACKEND-diff-switches' to
get the switches for that command. Thus, `vc-diff-switches' should
contain switches that are specific to version control, but not
specific to any particular backend.
This behaviour assumes that the diff switches can be accumulated.
however, it does not allow for removing them for a particular backend.
For example, I have
(setq diff-switches "-pu"
vc-diff-switches "-b")
which works for the cvs and rcs backends. However, it would not work
for the hg backend, as 'hg diff' does not tolerate the -u option. This
problem would require a different way of combining the diff switches.
[Message part 3 (message/rfc822, inline)]
I believe this is tidied up now.
This bug report was last modified 16 years and 226 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.