git-annex: multiple web remotes?
Olaf TNSB
still.another.person at gmail.com
Thu Dec 29 06:47:54 CET 2011
Thanks for the quick reply! All my questions answered. :)
On 29/12/2011 2:54 AM, "Joey Hess" <joey at kitenet.net> wrote:
>
> It does support storing multiple urls, and will try each until one
> works. I just don't have much of an interface for adding/removing the
urls.
>
> If you're using a backend like SHA1, then if you simply run addurl on
> both urls, and they have the same content, you'll get two annexed files
> that share a key (and can then delete on of the files). git-annex does
> record that both urls can be used to obtain the key. So that's one way.
That's what I did initially, but thought the original url was overwritten.
> Or, you can check out the git-annex branch and look in remote/web/ for the
> files that contain the urls, as documented at
> http://git-annex.branchable.com/internals/
>
> > Second question, & it's probably a RTFM, how do I find out what URL is
> > associated with a file? 'git annex whereis file.name' only tells me
'web'
> > as the annex location.
>
> No interface currently, but see above.
So I can manually edit 'remote/web' to change/remove urls?
Awesome tool, by the way...
More information about the vcs-home
mailing list