Hi, here a patch to fix a small error in xhg-convert. Since version 1.1.2 or mercurial, we can convert bzr to hg :). Stefan: i can't mail to your mail adress so i put the patch here.
# HG changeset patch # User Thierry Volpiatto <[email protected]> # Date 1233993213 -3600 # Node ID 5848d74f0a17fb335342e3053e460a0070456be2 # Parent b0e2abdc3a992d6f2546d8164a950144d08a702a "xhg.el: Update docstring of xhg-convert and fix xhg-update after converting" diff --git a/lisp/xhg.el b/lisp/xhg.el --- a/lisp/xhg.el +++ b/lisp/xhg.el @@ -773,20 +773,21 @@ (defun xhg-convert (source target) "Convert a foreign SCM repository to a Mercurial one. - Accepted source formats: - - Mercurial - - CVS - - Darcs - - git - - Subversion - - Monotone - - GNU Arch + Accepted source formats [identifiers]:(Mercurial-1.1.2) + - Mercurial [hg] + - CVS [cvs] + - Darcs [darcs] + - git [git] + - Subversion [svn] + - Monotone [mtn] + - GNU Arch [gnuarch] + - Bazaar [bzr] Be sure to add to your hgrc: \[extensions\] hgext.convert = -Read also: hg help convert +Read also: hg help convert. " (interactive "DSource: \nsTarget: ") (message "Started hg conversion of [%s] to [%s] ..." source target) @@ -794,8 +795,8 @@ (expand-file-name source) (expand-file-name target)) :finished (dvc-capturing-lambda (output error status arguments) - (let ((default-directory (capture target)) - (xhg-update))) + (let ((default-directory (capture target))) + (xhg-update)) (message "hg: [%s] successfully converted to [%s]" (capture source) (capture target))))) ;; --------------------------------------------------------------------------------
-- A + Thierry Volpiatto Location: Saint-Cyr-Sur-Mer - France
_______________________________________________ Dvc-dev mailing list [email protected] https://mail.gna.org/listinfo/dvc-dev
