Hi Dscho,
Thanks for the comments. I'll keep in on the list, just in case there is
someone else with a brilliant idea.
On Thursday 04 October 2007 00:14, you wrote:
Hi,
On Wed, 3 Oct 2007, Jan Wielemaker wrote:
quoted
On Wednesday 03 October 2007 20:55, you wrote:
quoted
On Wed, 3 Oct 2007, Jan Wielemaker wrote:
quoted
On Wednesday 03 October 2007 18:11, Johannes Schindelin wrote:
quoted
Hi,
On Wed, 3 Oct 2007, Jan Wielemaker wrote:
quoted
2007-10-03 12:25:16 : WARN - error 1 pserver cannot find the
current HEAD of module
AFAIR we do not allow committing via pserver protocol. Might that
be your problem?
Thanks, but no. I'm using CVS over SSH. I've been looking around in
git-cvsserver source a bit and it aborts quite quickly if you try a
commit through pserver. I get a bit further, but it cannot find the
HEAD revision for some reason and (from later message), if I try to
checkout master instead of HEAD it finds the revision but I get a
hash mismatch.
Okay, another stab: is your HEAD detached?
I'm a humble git beginner, though I think *my* head is still attached
:-) In any case, we are talking a fresh repository and I can perfectly
well clone it as well as pull and push from the clone using GIT
commands. How do I tell whether the HEAD is detached?
You can tell by looking into .git/HEAD (on the side that runs the server).
If it is a 40-character hex string, the HEAD is detached. Otherwise, it
should contain something like "refs/heads/master".
Its the latter, so my HEAD is still attached. I hope I understand this
correctly, but browsing the docs suggests a detached head is not really
a normal situation, so I'm fine. Right?
Other reasons for the failure could be:
- your user does not have write access
Definitely ok (also put an strace -o logfile git-cvsserver "$@" script
around it. No alarming permission or non-existence errors).
- the uid under which git-cvsserver runs has no write access
See above
- you found an error that only triggers with your repo
Great! Its so damn simple and and tried with three repos created
in three different ways, that I'm either extremely unlucky or many
more should be faced with this or nobody uses git-cvsserver.
I'm hoping for a command-by-command sequence that gets me a definitely
fine repository, so at least I can see it running correctly once. Then
maybe I can analyse traces in detail to see where they differ and what
is wrong. Somebody?
Thanks --- Jan