mr bootstrap
Marc Haber
mh+vcs-home at zugschlus.de
Fri Jun 3 11:10:24 CEST 2016
Hi,
I am trying to make sense out of the mr bootstrap feature, which seems
incredibly byzantine for me for lack of an example. I have created an
URL http://some.server/some.file, which delivers a mr config snipped
like:
[$HOME/.config/vcsh/repo.d/mr.git]
checkout = vcsh clone http://git/mh/vcsh/mr
When I now do
$ mr bootstrap http://some.server/some.file
mr complains:
mr: illegal section "[$HOME/.config/vcsh/repo.d/mr.git]" in untrusted
http://git.zugschlus.de/mh/vcsh/mrboot/mrconfig line 1
Is it expected that mr bootstrap will always need --trusted?
When I use --trusted, vcsh in turn complains that one of the
repositories that are bootstrapped also contains an .mrconfig file
(the real one instead of the one that got downloaded by mr bootstrap):
marc at swivel:~$ mr --trust bootstrap http://git.zugschlus.de/mh/vcsh/mrboot/mrconfig
mr checkout: /home/marc/.config/vcsh/repo.d/mr.git
Initialized empty shared Git repository in /home/marc/.config/vcsh/repo.d/mr.git/
Switched to a new branch 'master'
>From http://git.zugschlus.de/mh/vcsh/mr
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
vcsh: error: '.mrconfig' exists.
vcsh: fatal: will stop after fetching and not try to merge!
Once this situation has been resolved, run 'vcsh mr pull' to finish cloning.
mr checkout: command failed
mr bootstrap: finished (1 failed)
marc at swivel:~$
Wouldn't it make sense that mr bootstrap would only use the downloaded
file temporarily and then make room for a .mrconfig file that is
actually in a repository? That way, the bootstrap mrconfig file could
be really, really minimal.
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421
More information about the vcs-home
mailing list