bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#1017: marked as done (vc-diff for the hg backend ignore diff switch


From: Emacs bug Tracking System
Subject: bug#1017: marked as done (vc-diff for the hg backend ignore diff switches variables)
Date: Wed, 19 Nov 2008 18:55:04 -0800

Your message dated Wed, 19 Nov 2008 21:45:49 -0500
with message-id <ovmyfvi082.fsf@fencepost.gnu.org>
and subject line Re: bug#1017: vc-diff for the hg backend ignore diff switches 
variables
has caused the Emacs bug report #1017,
regarding vc-diff for the hg backend ignore diff switches variables
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@donarmstrong.com
immediately.)


-- 
1017: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1017
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems
--- Begin Message --- Subject: vc-diff for the hg backend ignore diff switches variables Date: Tue, 23 Sep 2008 16:57:24 +0200
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.




--- End Message ---
--- Begin Message --- Subject: Re: bug#1017: vc-diff for the hg backend ignore diff switches variables Date: Wed, 19 Nov 2008 21:45:49 -0500 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
It seems no-one uses Mercurial, so I verified myself that this seems
to work OK, and have installed it.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]