John Eikenberry wrote: > I was trying to register a git repo that exist only locally and received the > error. > > mr: cannot determine git url > > Its easy to reproduce, just create a new git repo... > $ mkdir tmp; cd tmp > $ git init > Try to register it with mr... > $ mr register > mr: cannot determine git url > $ echo $? > 1 > > I have several other repos already registered with mr which all work fine. > Though they are all hg based (I'm switching to git though).
There is no origin url for the repository. mr register could configure it with a dummy checkout command: [tmp] checkout = no url known for this repository But then what if someone runs mr on a repository that has no origin url, but does have some other remote url? It would be surprising for the above to result, but mr can't go guessing about which other url to use in such a case. So I think it's better that mr register not try to support your case. -- see shy jo
signature.asc
Description: Digital signature