[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: How do I associate a directory with repository?
From: |
Mike Glasspool |
Subject: |
RE: How do I associate a directory with repository? |
Date: |
Thu, 29 Mar 2012 16:29:38 +0000 |
Hey Harvey,
A couple of points for you here.
1) If you're worried about your GPS datastore, don't use it. I'm not sure why
this is even a consideration.
2) How are you connecting to your CVS repository? Are you developing on the
same machine?
Really you can do a couple of things here.
In theory if you're working on independent features, you can checkout your
source, modify it, then check in when complete. You can check out multiple
times if you're working concurrently. If this is your use case, go that way -
just be aware you may need to resolve conflicts.
If you're working on a large set of changes, you can branch, check smaller
changes into the branch, then merge the branch back to HEAD when you're ready.
This will simulate a sandbox-type environment.
Mike
-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Harvey
Sent: Thursday, July 28, 2011 8:33 PM
To: address@hidden
Subject: How do I associate a directory with repository?
Howdy - I am a longtime developer but new to cvs. A particular use case I keep
running into is as follows:
- I have an existing directory of source. I add it to my cvs repository
with:
cvs import -m "blah blah" xxx/yyy zzz initial
- I then want to use the existing directory as a CVS work area ("sandbox"?),
but I don't have a clean way to associate it with the files I just put in the
repository.
I have monkeyed with creating a CVS subdirectory and faking the
Entries/Repository/Root files (bad juju) and checking out the parent directory
over the current files. I am not comfortable doing this and it seems a bit
awkward. It doesn't make sense to me that I need to read back files that were
just put into the repository from that same directory.
One place where I have files I want to save is on my GPS (which looks like a
USB drive). I am reluctant to potentially mess up the GPS binaries with a
checkout failure.
Another place where this happens is in Anjuta IDE where the files are created
by either a wizard or manually in the IDE and the CVS interface does not
readily handle the transition from 'import' to 'checkout' to 'commit'.
--
Harvey
________________________________
Save the Date: 2012 Customer Conference: Nov. 7-9; Gaylord Opryland; Nashville,
TN; Pre-Conference workshops: Nov. 5-6
Follow Harris on Twitter<http://www.twitter.com/Harris_Computer>
________________________________
Mike Glasspool
Software Engineer
P: 613-226-5511 x2156
F:
E: address@hidden
[http://www.harriscomputer.com/images/signatures/NorthstarUtilities.jpg]
[http://www.harriscomputer.com/images/signatures/DivisionofHarris.gif]<http://www.harriscomputer.com/>
1 Antares Drive
Suite 400
Ottawa, ON
K2E 8C4
www.northstarutilities.com<http://www.northstarutilities.com>
This message is intended exclusively for the individual or entity to which it
is addressed. This communication may contain information that is proprietary,
privileged or confidential or otherwise legally exempt from disclosure. If you
are not the named addressee, you are not authorized to read, print, retain,
copy or disseminate this message or any part of it. If you have received this
message in error, please notify the sender immediately by e-mail and delete all
copies of the message.