[prev in list] [next in list] [prev in thread] [next in thread] 

List:       trac
Subject:    Re: [Trac] Unsupported version control system "git"
From:       Greg Troxel <gdt () ir ! bbn ! com>
Date:       2012-12-20 13:33:35
Message-ID: rmi4njg26hc.fsf () fnord ! ir ! bbn ! com
[Download RAW message or body]


Henrik Granlund <htgranlund@gmail.com> writes:

> [trac]
> repository_dir = /opt/git/sc2genetics2/.git
> repository_type = git

Also, it's unusual to have a bare repository with that kind of path (but
not wrong or non-functional).  The typical path would be
  /opt/git/sc2genetics2.git
which is a clue that the directory contains only what is usually in .git
in a non-bare clone.

When one clones as

  git clone remote-system:/opt/git/sc2genetics2.git

you get a directory sc2genetics2.

> tried with a git --init bare first but gave that up since it sounds like 
> its not intended use.
> the repository is a "git clone" and I've also added chmod -R 777 
> sc2genetics2/  to avoid permission problems but still no success.

Using a non-bare repository is odd.  But perhaps this is the copy that
trac looks at, rather than the official repository.


What I do is to have a bare repository on the same machine as the trac
server, and this repository is the official repository for the project.

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic