Issue #7 wontfix
Anonymous created an issue

Not working via tramp. Need two small fixes:

First:

(defun ahg-call-process (cmd &optional args global-opts) (let ((callargs (append (list ahg-hg-command nil t nil "--config" "ui.report_untrusted=0") global-opts (list cmd) args))) ;;(message "callargs: %s" callargs) - (apply 'call-process callargs))) + (apply 'process-file callargs)))

Second:

(defun ahg-root () "Returns the root of the tree handled by Mercurial, or nil if the current dir is not under hg." - (with-temp-buffer - (when (= (ahg-call-process "root") 0) - (buffer-substring-no-properties (point-min) (1- (point-max)))))) + (locate-dominating-file default-directory ".hg"))

Comments (3)

  1. Log in to comment