unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Tell VC to use hg, not git
@ 2017-04-24 11:58 Neal Becker
  2017-04-24 12:02 ` Dmitry Gutov
  2017-04-24 14:44 ` Stefan Monnier
  0 siblings, 2 replies; 3+ messages in thread
From: Neal Becker @ 2017-04-24 11:58 UTC (permalink / raw)
  To: help-gnu-emacs

I have repos that are hg, converted from git.  They have both .git and .hg.  
VC mode sees .git and thinks it should use git.  I need to use hg.  How can 
I do this?




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Tell VC to use hg, not git
  2017-04-24 11:58 Tell VC to use hg, not git Neal Becker
@ 2017-04-24 12:02 ` Dmitry Gutov
  2017-04-24 14:44 ` Stefan Monnier
  1 sibling, 0 replies; 3+ messages in thread
From: Dmitry Gutov @ 2017-04-24 12:02 UTC (permalink / raw)
  To: Neal Becker, help-gnu-emacs

On 24.04.2017 14:58, Neal Becker wrote:
> I have repos that are hg, converted from git.  They have both .git and .hg.
> VC mode sees .git and thinks it should use git.  I need to use hg.  How can
> I do this?

You can change the order of the elements in vc-handled-backends.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Tell VC to use hg, not git
  2017-04-24 11:58 Tell VC to use hg, not git Neal Becker
  2017-04-24 12:02 ` Dmitry Gutov
@ 2017-04-24 14:44 ` Stefan Monnier
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2017-04-24 14:44 UTC (permalink / raw)
  To: help-gnu-emacs

> I have repos that are hg, converted from git.  They have both .git and .hg.  
> VC mode sees .git and thinks it should use git.  I need to use hg.  How can 
> I do this?

There's vc-switch-backend for that.


        Stefan




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-04-24 14:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-24 11:58 Tell VC to use hg, not git Neal Becker
2017-04-24 12:02 ` Dmitry Gutov
2017-04-24 14:44 ` Stefan Monnier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).