0

I have gitolite up and running and I work with it from multiple machines for quite a while. Therefore there are several of my 'rob' keys in gitolite-admin. These days from this machine are awkward:

Part of my gotolite.conf

repo ProPro OpenTK-10Bit-test
    RW+     =   rob

Interestingly cloning ProPro to my Win8 desktop works, while a clone to OpenTK-10Bit-test is denied as if it was not there:

Cloning into 'E:\src\OpenTk-10Bit-test'... FATAL: R any OpenTk-10Bit-test rob DENIED by fallthru (or you mis-spelled the reponame) fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

Converseley I am committing from a Win7 machine for quite a while already. What is going on? Are there any bad characters? There might be a difference that Win7 I use git from bash. But on my laptop I also access this repo with Tortoise from Win8.

Robetto
  • 739
  • 7
  • 20
  • Thanks, that's it. Really bad: Do you know what actually happened? All went by Copy&Paste. So nothing should go wrong. BUT: Pasting a similar string in a combobox (TortoiseGit clone) switches to the similar string. So OpenTK... pasted always went to the previous mistake OpenTk... Ohohoh – Robetto Jun 21 '15 at 21:55

1 Answers1

1

While Windows is not case sensitive, Gitolite is, testing for the existence of the bare repo folder (see lib/Gitolite/Conf/Load.pm#L245-L250).

or you mis-spelled the reponame

If the gitolite.conf file allows access for OpenTK-10Bit-test, trying to clone OpenTk-10Bit-test (as commented by And) will not work and will be denied.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • Well, thanks. That was it. I tried my best varying the T in test and B as in Bit but did not see the k as Tk. But why does gitolite not complain about the spell mistake in the .conf file or why does it now work if I use "OpenTK-10Bit-test" . Solved but confused – Robetto Jun 18 '15 at 07:13