update dvc
This commit is contained in:
parent
3c73f9a998
commit
a7b68b6289
@ -1,6 +1,6 @@
|
||||
;;; xhg-core.el --- Common definitions for mercurial support in DVC
|
||||
|
||||
;; Copyright (C) 2005-2006 by all contributors
|
||||
;; Copyright (C) 2005-2012 by all contributors
|
||||
|
||||
;; Author: Stefan Reichoer, <stefan@xsteve.at>
|
||||
|
||||
@ -61,5 +61,10 @@ mercurial managed tree (but return nil)."
|
||||
"Read a revision for the actual mercurial working copy."
|
||||
(read-string prompt (xhg-log-revision-at-point)))
|
||||
|
||||
(defun xhg-prepare-environment (env)
|
||||
"Prepare the environment to run hg."
|
||||
;; DVC expects hg messages in the C locale
|
||||
(cons "LC_MESSAGES=C" env))
|
||||
|
||||
(provide 'xhg-core)
|
||||
;;; xhg-core.el ends here
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
;;; xhg-dvc.el --- The dvc layer for xhg
|
||||
|
||||
;; Copyright (C) 2005-2008 by all contributors
|
||||
;; Copyright (C) 2005-2012 by all contributors
|
||||
|
||||
;; Author: Stefan Reichoer, <stefan@xsteve.at>
|
||||
|
||||
@ -112,6 +112,8 @@ This is done via setting `xhg-dvc-commit-extra-parameters'."
|
||||
ARG is passed as prefix argument"
|
||||
(call-interactively 'xhg-log))
|
||||
|
||||
(defalias 'xhg-dvc-prepare-environment 'xhg-prepare-environment)
|
||||
|
||||
;; deactivated at them moment, use dvc-dvc-files-to-commit to allow selecting files to commit
|
||||
;; (defun xhg-dvc-files-to-commit ()
|
||||
;; ;; -mar: modified+added+removed
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user