1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-21 18:23:59 +00:00
emacs/lisp/vc
Karl Fogel 3c3aad7335 When VC detects a conflict, specify which file
* lisp/vc/vc.el (vc-message-unresolved-conflicts): New function.
* lisp/vc/vc-svn.el (vc-svn-find-file-hook):
* lisp/vc/vc-hg.el (vc-hg-find-file-hook):
* lisp/vc/vc-bzr.el (vc-bzr-find-file-hook):
* lisp/vc/vc-git.el (vc-git-find-file-hook): Use above new function
  to display a standard message that specifies the conflicted file.

Before this change, the message VC used for indicating a conflicted
file was just "There are unresolved conflicts in this file" without
naming the file (and this language was duplicated in several places).
After this change, it's "There are unresolved conflicts in file FOO"
(and this language is now centralized in one function in vc.el).

Justification: It's important for the message to name the conflicted
file because the moment when VC realizes a file is conflicted does not
always come interactively.  For example, some people automatically
find a set of Org Mode files on startup, and may keep those .org files
under version control.  If any of the files are conflicted, the user
just sees some messages fly by, and might later check the "*Messages*"
buffer to find out what files were conflicted.  I'm not saying this
happened to me or anything; it's a purely hypothetical example.
2015-11-09 15:57:29 -06:00
..
add-log.el Fix several backslash typos in Elisp strings 2015-09-17 12:39:54 -07:00
compare-w.el * lisp/vc/compare-w.el (compare-windows-get-window-function): 2015-06-04 20:47:05 -04:00
cvs-status.el ; Remove extraneous "coding: utf-8" specifications in Elisp files 2015-09-29 01:39:46 +03:00
diff-mode.el Backslash cleanup in Elisp source files 2015-09-17 16:09:39 -07:00
diff.el Change diff-switches default to `-u' 2015-04-14 05:06:49 +03:00
ediff-diff.el Backslash cleanup in Elisp source files 2015-09-17 16:09:39 -07:00
ediff-help.el Support quotes 'like this' in info files 2015-06-02 22:52:44 -07:00
ediff-hook.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ediff-init.el Backslash cleanup in Elisp source files 2015-09-17 16:09:39 -07:00
ediff-merg.el Fix minor text quoting in calc, calendar, vc 2015-08-28 22:25:09 -07:00
ediff-mult.el Fix some more docstring etc. quoting problems 2015-09-03 15:32:54 -07:00
ediff-ptch.el Backslash cleanup in Elisp source files 2015-09-17 16:09:39 -07:00
ediff-util.el Avoid redisplay error in ediff-regions-wordwise 2015-09-28 18:53:26 +03:00
ediff-vers.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ediff-wind.el Backslash cleanup in Elisp source files 2015-09-17 16:09:39 -07:00
ediff.el Backslash cleanup in Elisp source files 2015-09-17 16:09:39 -07:00
emerge.el ; Do not overwrite preexisting contents of unread-command-events 2015-08-04 14:34:15 +02:00
log-edit.el Backslash cleanup in Elisp source files 2015-09-17 16:09:39 -07:00
log-view.el Fix default-directory in changeset diffs after vc-print-log 2015-07-31 05:53:14 +03:00
pcvs-defs.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
pcvs-info.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
pcvs-parse.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
pcvs-util.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
pcvs.el * lisp/vc/pcvs.el (cvs-revert-if-needed): Use vc-refresh-state. 2015-10-28 14:00:24 -04:00
smerge-mode.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
vc-annotate.el Backslash cleanup in Elisp source files 2015-09-17 16:09:39 -07:00
vc-bzr.el When VC detects a conflict, specify which file 2015-11-09 15:57:29 -06:00
vc-cvs.el ; Revert "Don't declare vc-exec-after anymore" 2015-10-28 02:43:14 +02:00
vc-dav.el Resurrect the ability to specify a revision in vc-next-action 2015-09-19 13:31:38 +03:00
vc-dir.el Call vc-dir-defresh after stash operations 2015-10-20 22:07:20 +03:00
vc-dispatcher.el Delete the old process in vc-setup-buffer 2015-05-28 02:28:56 +03:00
vc-filewise.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
vc-git.el When VC detects a conflict, specify which file 2015-11-09 15:57:29 -06:00
vc-hg.el When VC detects a conflict, specify which file 2015-11-09 15:57:29 -06:00
vc-hooks.el Fix some more docstring etc. quoting problems 2015-09-03 15:32:54 -07:00
vc-mtn.el ; Revert "Don't declare vc-exec-after anymore" 2015-10-28 02:43:14 +02:00
vc-rcs.el Resurrect the ability to specify a revision in vc-next-action 2015-09-19 13:31:38 +03:00
vc-sccs.el Resurrect the ability to specify a revision in vc-next-action 2015-09-19 13:31:38 +03:00
vc-src.el Adapt vc-src to the old-new vc-checkin API 2015-09-19 20:57:59 +03:00
vc-svn.el When VC detects a conflict, specify which file 2015-11-09 15:57:29 -06:00
vc.el When VC detects a conflict, specify which file 2015-11-09 15:57:29 -06:00