bug-cvs
[Top][All Lists]
Advanced

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

Re: cvs update -j seems to be broken.


From: Derek R. Price
Subject: Re: cvs update -j seems to be broken.
Date: Fri, 15 Dec 2000 20:39:30 -0500

I couldn't reproduce this.  Try upgrading to 1.11 and report this again, 
preferably with a script
which can reproduce the error, if you still experience the problem.  There are 
RPMs available from
http://cvshome.org .

Derek

--
Derek Price                      CVS Solutions Architect ( http://CVSHome.org )
mailto:address@hidden     OpenAvenue ( http://OpenAvenue.com )
--
Teacher is not a leper.
Teacher is not a leper.
Teacher is not a leper...

          - Bart Simpson on chalkboard, _The Simpsons_

address@hidden wrote:

> >Submitter-Id:   net
> >Originator:     Vilius Puidokas
> >Organization:   Commissioner.COM
> net
> >Confidential:  no
> >Synopsis:      update with -j results in l-added, which can't be committed
> >Severity:      serious
> >Priority:      low
> >Category:      cvs
> >Class:         sw-bug
> >Release:       cvs-1.10.7
> >Environment:
>
> System: Linux ithica 2.2.14-12smp #1 SMP Tue Apr 25 12:58:06 EDT 2000 i686 
> unknown
> Architecture: i686
>
> >Description:
>
>         if file is added in a branch (tag: mytag) and later is up'ed in main
>         trunc with -j 'mytag' creates a locally added status, which fails to 
> be
>         committed (IO error) and later results in complains that RCS file 
> exists
>
> >How-To-Repeat:
>         address@hidden ~]$ cvs co foo
> cvs checkout: Updating foo
> address@hidden ~]$ echo "its friday :)" > foo/first
> address@hidden ~]$ cvs add foo/first
> cvs add: scheduling file `foo/first' for addition
> cvs add: use 'cvs commit' to add this file permanently
> address@hidden ~]$ cvs commit -m main-trunc foo/first
> RCS file: /home/andros/cvs/foo/first,v
> done
> Checking in foo/first;
> /home/andros/cvs/foo/first,v  <--  first
> initial revision: 1.1
> done
> address@hidden ~]$ echo "will be tagged" > foo/second
> address@hidden ~]$ cvs add foo/second
> cvs add: scheduling file `foo/second' for addition
> cvs add: use 'cvs commit' to add this file permanently
> address@hidden ~]$ cvs commit -m still-in-main-trunc foo/second
> RCS file: /home/andros/cvs/foo/second,v
> done
> Checking in foo/second;
> /home/andros/cvs/foo/second,v  <--  second
> initial revision: 1.1
> done
> address@hidden ~]$ cvs tag -b taggy foo/second
> T foo/second
> address@hidden ~]$ cvs co -r taggy -d bar
> cvs [checkout aborted]: must specify at least one module or directory
> address@hidden ~]$ cvs co -r taggy -d bar foo
> cvs checkout: cannot chdir to bar: Not a directory
> cvs checkout: ignoring module foo
> address@hidden ~]$ cvs co -r taggy -d bar foo
> cvs checkout: Updating bar
> U bar/second
> address@hidden ~]$ echo "our file being added in branch" > bar/third
> cvs add: scheduling file `bar/third' for addition on branch `taggy'
> cvs add: use 'cvs commit' to add this file permanently
> address@hidden ~]$ cvs commit -m 'adding in branch' bar/third
> RCS file: /home/andros/cvs/foo/Attic/third,v
> done
> Checking in bar/third;
> /home/andros/cvs/foo/Attic/third,v  <--  third
> new revision: 1.1.2.1; previous revision: 1.1
> done
> address@hidden ~]$ cvs up -j taggy foo/
> cvs update: Updating foo/
> U foo//third
> address@hidden ~]$ cvs status foo/third
> ===================================================================
> File: third             Status: Locally Added
>
>    Working revision:    New file!
>    Repository revision: 1.1     /home/andros/cvs/foo/Attic/third,v
>    Sticky Tag:          (none)
>    Sticky Date:         (none)
>    Sticky Options:      (none)
>
>    Existing Tags:
>         taggy                           (branch: 1.1.2)
>
> address@hidden ~]$ cvs commit -m 'adding you in main trunc' foo/third
> Checking in foo/third;
> /home/andros/cvs/foo/third,v  <--  third
> cvs [commit aborted]: cannot fstat /home/andros/cvs/foo/third,v: Input/output 
> error
> address@hidden ~]$ cvs status foo/third
> ===================================================================
> File: third             Status: Locally Added
>
>    Working revision:    New file!
>    Repository revision: 1.1     /home/andros/cvs/foo/third,v
>    Sticky Tag:          (none)
>    Sticky Date:         (none)
>    Sticky Options:      (none)
>
>    Existing Tags:
>         taggy                           (branch: 1.1.2)
>
> address@hidden ~]$ rpm -q cvs
> cvs-1.10.7-7
> address@hidden ~]$ cvs commit -m 'once MORE' foo/third
> cvs commit: cannot add file `foo/third' when RCS file 
> `/home/andros/cvs/foo/third,v' already exists
> cvs [commit aborted]: correct above errors first!
>
> >Fix:
>         cleaning up looks pretty messy. :/
>
>
> _______________________________________________
> Bug-cvs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-cvs




reply via email to

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