[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: adding two files of same name to repository
From: |
Jerry Nairn |
Subject: |
RE: adding two files of same name to repository |
Date: |
Mon, 5 Nov 2001 15:37:43 -0800 |
So,
This is what you did:
$ mkdir Factory
$ cvs add Factory
$ mv Util Factory
This does not put Util into the Factory directory in the repository. It is
only in Factory in your workspace.
> From: Terrence Brannon [mailto:address@hidden
> Sent: Sunday, November 04, 2001 10:37 AM
> in other words, I inserted the directory Factory. as the transcript
> below shows I cannot a file named SubenKlassen.pm in
> Class/Factory/Util
> because one already exists in Class/Util
> [localhost:Class/Factory/Util] metaperl% cvs status
> cvs status: Examining .
> ===================================================================
> File: SubenKlassen.pm Status: Up-to-date
>
> Working revision: 1.1.1.1 Sat Nov 3 20:31:52 2001
> Repository revision: 1.1.1.1
> /Users/metaperl/cvsroot/class_factory_util/blib\
> /lib/Class/Util/SubenKlassen.pm,v
This is a file you checked out from Class/Util, and you are trying to add it
in Class/Util.
> Sticky Tag: (none)
> Sticky Date: (none)
> Sticky Options: (none)
>
If, in Class/Factory, you do this:
$ mv Util ..
$ mkdir Util
$ cvs add Util
$ cp ../Util/SubenKlassen.pm Util
then you will be able to add SubenKlassen.pm in Class/Factory/Util, if
that's really what you want to do. You need to get a better understanding of
how your workspace is related to your repository. Every working directory
points back to the directory in the repository which it came from.
Jerry