Re: Converting a non-bare git-annex into a bare one

2011-06-13 Thread Richard Hartmann
On Mon, Jun 13, 2011 at 02:45, Joey Hess  wrote:

> Eh, I meant to say you can move .git/annex/ into annex/ in the bare
> repository. The .git-annex directory is not used with a bare repository.

Thanks, that worked.


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


Re: Converting a non-bare git-annex into a bare one

2011-06-12 Thread Joey Hess
Richard Hartmann wrote:
> I made a pretty stupid mistake with a new repo... I created it
> non-bare. Obviously, the first step to converting it into a bare one
> is
> 
>   git clone --bare -l  
> 
> followed by moving the bits & pieces of git-annex into the right
> places. As the directory structure of bare and non-bare git annex
> repos seems to be different (.git-annex/ vs annex/ with different
> content) and as I want to make _sure_ there won't be any problems down
> the road, I am wondering if there is a guide or checklist to properly
> converting between that two.

You can move .git-annex/ into annex/ in the bare repository. Also copy
over the annex.uuid setting into config, and that should be all that's
needed.

-- 
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: Converting a non-bare git-annex into a bare one

2011-06-12 Thread Joey Hess
Joey Hess wrote:
> Richard Hartmann wrote:
> > I made a pretty stupid mistake with a new repo... I created it
> > non-bare. Obviously, the first step to converting it into a bare one
> > is
> > 
> >   git clone --bare -l  
> > 
> > followed by moving the bits & pieces of git-annex into the right
> > places. As the directory structure of bare and non-bare git annex
> > repos seems to be different (.git-annex/ vs annex/ with different
> > content) and as I want to make _sure_ there won't be any problems down
> > the road, I am wondering if there is a guide or checklist to properly
> > converting between that two.
> 
> You can move .git-annex/ into annex/ in the bare repository. Also copy

Eh, I meant to say you can move .git/annex/ into annex/ in the bare
repository. The .git-annex directory is not used with a bare repository.


-- 
see shy jo


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

Converting a non-bare git-annex into a bare one

2011-06-12 Thread Richard Hartmann
Hi all,

I made a pretty stupid mistake with a new repo... I created it
non-bare. Obviously, the first step to converting it into a bare one
is

  git clone --bare -l  

followed by moving the bits & pieces of git-annex into the right
places. As the directory structure of bare and non-bare git annex
repos seems to be different (.git-annex/ vs annex/ with different
content) and as I want to make _sure_ there won't be any problems down
the road, I am wondering if there is a guide or checklist to properly
converting between that two.



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