git-annex: multiple web remotes?

2011-12-27 Thread Olaf TNSB
Hi joeyh and other annex-types,

I've got a couple of questions regarding the web special remote in
git-annex.

Firstly, I was wondering if it was possible(*), or too technically
difficult(!), to have multiple web remotes for files in an annex. For
example, I can find a few different links for Graham's 'On Lisp' and I'd
like to have my X local copies in annexes and also a couple of URLs for the
book in my annex.

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.

Thanks for any help,

Olaf

(*) Yeah, I know I can submit a patch, but I have enough trouble
_compiling_ git-annex, so hacking in Haskell is a bridge too far
currently!  ;)
___
vcs-home mailing list
vcs-home@lists.madduck.net
http://lists.madduck.net/listinfo/vcs-home


Re: git annex add silently ignores non-existent files

2011-12-27 Thread Richard Hartmann
On Tue, Dec 27, 2011 at 16:51, Joey Hess  wrote:

> joey@gnu:~/src/other/git>git ls-files --error-unmatch --others zlib.o zlib.c
> zlib.o
> error: pathspec 'zlib.c' did not match any file(s) known to git.
> Did you forget to 'git add'?

I am 99% sure this is a bug; investigating.


Richard
___
vcs-home mailing list
vcs-home@lists.madduck.net
http://lists.madduck.net/listinfo/vcs-home


Re: git annex add silently ignores non-existent files

2011-12-27 Thread Joey Hess
Richard Hartmann wrote:
> On Sat, Dec 24, 2011 at 15:44, Joey Hess  wrote:
> 
> > Since using git-ls-files is so convenient in most ways, all I can
> > think to do about this is document it.
> 
> --error-unmatch ?

Produces a strange error message if run on files that are already in
git:

joey@gnu:~/src/other/git>git ls-files --error-unmatch --others zlib.o zlib.c
zlib.o
error: pathspec 'zlib.c' did not match any file(s) known to git.
Did you forget to 'git add'?

-- 
see shy jo


signature.asc
Description: Digital signature
___
vcs-home mailing list
vcs-home@lists.madduck.net
http://lists.madduck.net/listinfo/vcs-home

Re: git annex add silently ignores non-existent files

2011-12-27 Thread Richard Hartmann
On Sat, Dec 24, 2011 at 15:44, Joey Hess  wrote:

> Since using git-ls-files is so convenient in most ways, all I can
> think to do about this is document it.

--error-unmatch ?


Richard
___
vcs-home mailing list
vcs-home@lists.madduck.net
http://lists.madduck.net/listinfo/vcs-home