Function: vc-hg--reset-back-to
vc-hg--reset-back-to is a byte-compiled function defined in
vc-hg.el.gz.
Signature
(vc-hg--reset-back-to REV KEEP)
Documentation
Strip revisions up to but not including REV.
If KEEP is non-nil, also pass --keep to hg strip.
Source Code
;; Defined in /usr/src/emacs/lisp/vc/vc-hg.el.gz
(defun vc-hg--reset-back-to (rev keep)
"Strip revisions up to but not including REV.
If KEEP is non-nil, also pass --keep to `hg strip'."
(apply #'vc-hg-command nil 0 nil
"--config=extensions.strip="
"strip" "--force"
(format "--rev=descendants(%s) & !%s" rev rev)
(and keep '("--keep"))))