info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lock in the Vendor Branch Give me error


From: Diego Ribeiro de Andrade
Subject: Re: Lock in the Vendor Branch Give me error
Date: Thu, 29 Apr 2004 14:54:07 -0300

I take this post from CVSGUI List. Thanks Godoy...

Godoy wrote:

This is reproducible on another Linux machine, with CVS 1.11.15.

address@hidden data]$ mkdir teste2
address@hidden data]$ cd teste2/
address@hidden teste2]$ touch a
address@hidden teste2]$ touch b
address@hidden teste2]$ touch c
address@hidden teste2]$ cvs -d :ext:address@hidden:/home/cvs import
clientes/data/teste2 godoy start
address@hidden's password:
N clientes/data/teste2/a
N clientes/data/teste2/b
N clientes/data/teste2/c

No conflicts created by this import

Sending mail to address@hidden
address@hidden teste2]$ cd ..
address@hidden data]$ rm -rf teste2/
address@hidden data]$ cvs -d :ext:address@hidden:/home/cvs co
clientes/data/teste2
address@hidden's password:
cvs checkout: Updating clientes/data/teste2
U clientes/data/teste2/a
U clientes/data/teste2/b
U clientes/data/teste2/c
address@hidden data]$ cd clientes/data/teste2/
address@hidden teste2]$ ls
CVS  a  b  c
address@hidden teste2]$ cvs admin -l a
address@hidden's password:
RCS file: /home/cvs/clientes/data/teste2/a,v
1.1.1.1 locked
done
address@hidden teste2]$ cvs log a
address@hidden's password:

RCS file: /home/cvs/clientes/data/teste2/a,v
Working file: a
head: 1.1
branch: 1.1.1
locks: strict
        godoy: 1.1.1.1
access list:
symbolic names:
        start: 1.1.1.1
        godoy: 1.1.1
keyword substitution: kv
total revisions: 2;     selected revisions: 2
description:
- ----------------------------
revision 1.1
date: 2004/04/29 16:54:00;  author: godoy;  state: Exp;
branches:  1.1.1;
Initial revision
- ----------------------------
revision 1.1.1.1        locked by: godoy;
date: 2004/04/29 16:54:00;  author: godoy;  state: Exp;  lines: +0 -0
Teste import/lock
============================================================================
=
address@hidden teste2]$ echo "a" > a
address@hidden teste2]$ cvs commit
cvs commit: Examining .
address@hidden's password:
Checking in a;
/home/cvs/clientes/data/teste2/a,v  <--  a
cvs commit: /home/cvs/clientes/data/teste2/a,v: multiple revisions
locked by godoy; please specify one
cvs commit: could not check in a
cvs commit: could not unlock /home/cvs/clientes/data/teste2/a,v
cvs commit: saving log message in /home/godoy/tmp/cvsJ9zRQL
address@hidden teste2]$ cvs edit a
address@hidden's password:
address@hidden teste2]$ cat a
a
address@hidden teste2]$ cvs commit a
address@hidden's password:
Checking in a;
/home/cvs/clientes/data/teste2/a,v  <--  a
cvs commit: /home/cvs/clientes/data/teste2/a,v: multiple revisions
locked by godoy; please specify one
cvs commit: could not check in a
cvs commit: could not unlock /home/cvs/clientes/data/teste2/a,v
cvs commit: saving log message in /home/godoy/tmp/cvsm3UvUk
address@hidden teste2]$ cvs log a
address@hidden's password:

RCS file: /home/cvs/clientes/data/teste2/a,v
Working file: a
head: 1.1
branch: 1.1.1
locks: strict
        godoy: 1.1
        godoy: 1.1.1.1
access list:
symbolic names:
        start: 1.1.1.1
        godoy: 1.1.1
keyword substitution: kv
total revisions: 2;     selected revisions: 2
description:
- ----------------------------
revision 1.1    locked by: godoy;
date: 2004/04/29 16:54:00;  author: godoy;  state: Exp;
branches:  1.1.1;
Initial revision
- ----------------------------
revision 1.1.1.1        locked by: godoy;
date: 2004/04/29 16:54:00;  author: godoy;  state: Exp;  lines: +0 -0
Teste import/lock
============================================================================
=
address@hidden teste2]$


Please, note how the log shows different results each time: before and
after the error happens.


On the other hand, without locking:

address@hidden teste2]$ cvs log b
address@hidden's password:

RCS file: /home/cvs/clientes/data/teste2/b,v
Working file: b
head: 1.1
branch: 1.1.1
locks: strict
access list:
symbolic names:
        start: 1.1.1.1
        godoy: 1.1.1
keyword substitution: kv
total revisions: 2;     selected revisions: 2
description:
- ----------------------------
revision 1.1
date: 2004/04/29 16:54:00;  author: godoy;  state: Exp;
branches:  1.1.1;
Initial revision
- ----------------------------
revision 1.1.1.1
date: 2004/04/29 16:54:00;  author: godoy;  state: Exp;  lines: +0 -0
Teste import/lock
============================================================================
=
address@hidden teste2]$ cvs edit b
address@hidden's password:
address@hidden teste2]$ cvs log b
address@hidden's password:
Permission denied, please try again.
address@hidden's password:

RCS file: /home/cvs/clientes/data/teste2/b,v
Working file: b
head: 1.1
branch: 1.1.1
locks: strict
access list:
symbolic names:
        start: 1.1.1.1
        godoy: 1.1.1
keyword substitution: kv
total revisions: 2;     selected revisions: 2
description:
- ----------------------------
revision 1.1
date: 2004/04/29 16:54:00;  author: godoy;  state: Exp;
branches:  1.1.1;
Initial revision
- ----------------------------
revision 1.1.1.1
date: 2004/04/29 16:54:00;  author: godoy;  state: Exp;  lines: +0 -0
Teste import/lock
============================================================================
=
address@hidden teste2]$ echo 'b' > b
address@hidden teste2]$ cvs commit b
address@hidden's password:
Checking in b;
/home/cvs/clientes/data/teste2/b,v  <--  b
new revision: 1.2; previous revision: 1.1
done
Collecting file lists...Collecting diffs...Done
Sending mail to address@hidden
address@hidden teste2]$


With that we can disregard GUI's fault.


Any hints? Anyone interested on logs with CVS_CLIENT_LOG activated?
Is this a known issue?


TIA,
- -- 
Godoy.     <address@hidden>



---
Esse email foi certificado pelo Software AVG Antivirus esta limpo de ameacas
digitais.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.665 / Virus Database: 428 - Release Date: 21/4/2004





reply via email to

[Prev in Thread] Current Thread [Next in Thread]