Show More
@@ -653,7 +653,7 b' The Mercurial mode user interface is bas' | |||||
653 | you're already familiar with VC, the same keybindings and functions |
|
653 | you're already familiar with VC, the same keybindings and functions | |
654 | will generally work. |
|
654 | will generally work. | |
655 |
|
655 | |||
656 | Below is a list of many common SCM tasks. In the list, `G/L' |
|
656 | Below is a list of many common SCM tasks. In the list, `G/L\' | |
657 | indicates whether a key binding is global (G) to a repository or local |
|
657 | indicates whether a key binding is global (G) to a repository or local | |
658 | (L) to a file. Many commands take a prefix argument. |
|
658 | (L) to a file. Many commands take a prefix argument. | |
659 |
|
659 | |||
@@ -682,7 +682,9 b' Pull changes G ' | |||||
682 | Update working directory after pull G C-c h u hg-update |
|
682 | Update working directory after pull G C-c h u hg-update | |
683 | See changes that can be pushed G C-c h . hg-outgoing |
|
683 | See changes that can be pushed G C-c h . hg-outgoing | |
684 | Push changes G C-c h > hg-push" |
|
684 | Push changes G C-c h > hg-push" | |
685 | (run-hooks 'hg-mode-hook)) |
|
685 | (unless vc-make-backup-files | |
|
686 | (set (make-local-variable 'backup-inhibited) t)) | |||
|
687 | (run-hooks 'hg-mode-hook)) | |||
686 |
|
688 | |||
687 | (defun hg-find-file-hook () |
|
689 | (defun hg-find-file-hook () | |
688 | (when (hg-mode-line) |
|
690 | (when (hg-mode-line) | |
@@ -729,6 +731,8 b' With a prefix argument, prompt for the p' | |||||
729 | (goto-char 0) |
|
731 | (goto-char 0) | |
730 | (cd (hg-root path))) |
|
732 | (cd (hg-root path))) | |
731 | (when update |
|
733 | (when update | |
|
734 | (unless vc-make-backup-files | |||
|
735 | (set (make-local-variable 'backup-inhibited) t)) | |||
732 | (with-current-buffer buf |
|
736 | (with-current-buffer buf | |
733 | (hg-mode-line))))) |
|
737 | (hg-mode-line))))) | |
734 |
|
738 | |||
@@ -968,6 +972,7 b' With a prefix argument, prompt for the p' | |||||
968 | (cd (hg-root path))) |
|
972 | (cd (hg-root path))) | |
969 | (when update |
|
973 | (when update | |
970 | (with-current-buffer buf |
|
974 | (with-current-buffer buf | |
|
975 | (set (make-local-variable 'backup-inhibited) nil) | |||
971 | (hg-mode-line))))) |
|
976 | (hg-mode-line))))) | |
972 |
|
977 | |||
973 | (defun hg-incoming (&optional repo) |
|
978 | (defun hg-incoming (&optional repo) |
General Comments 0
You need to be logged in to leave comments.
Login now