[cvsnt] refresh the repos

Aaron Kynaston akynaston at novell.com
Fri May 23 20:10:29 BST 2003


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


It would appear to me that the rcs files are completely independent
either way (they of course can be acted upon together by tags, and dates
and things . .) -

I work in an environment with a main CVS repository that every one
uses, and then I have my own personal repository - there have been times
where I want to take whats in that main repository (RCS files) so I have
revion/history ect and all, and copy it into my own local repository -
Since I"m the only one that will make changes (and I can be 100% sure of
this), then I'm able to have access to CVS at all times, then when I
come back, I can copy the files back in.

I guess my point, is that I'm not sure I even see that as a hack at all
- just something that you can do because cvs stores its files in a
better way then some other tools . .(VSS).

Does any one have more thoughts on this?  I've done this for months
now, and have enjoyed the flexibility.

Aaron Kynaston
akynaston at novell.com
office: (801) 861-6709
cell: (801) 368-8633
fax: (801) 861-6778
Novell Inc., The leading provider in net services software.
www.novell.com

>>> "Boyd Meier" <bmeier at acornsys.com> 05/23/03 12:52PM >>>
One trick you can use, that I have used to fix this problem here, is
just to
rename the file in the attic with the new capitalization.  This, of
course,
only works if you really don't care about the capitalization (we have a
unix
server and NT development boxes, so we don't.)  Then the history is
retained, and the deleted file is resurrected with the new name.

	Boyd

-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org]On
Behalf
Of Glen Starrett
Sent: Friday, May 23, 2003 1:35 PM
To: 'Zaid, Mahmoud'; CVS-NT Mailing List (E-mail) (E-mail)
Subject: RE: [cvsnt] refresh the repos


Ahhhh, that one.  I remember.  I have no "good, sound advice" on this
matter.  However, I have some less-than-sound suggestions (Always use
caution, backup your entire repository before you proceed, etc. etc.):

You can remove almost all knowledge of a file by deleting it from the
repository.  The RCS file in the repository has a ",v" appended to the
name.
There will still be history entries, but I don't believe that will
hurt
anything.

Note that this falls under the category of "hacking the repository",
but
there is no recommended way I know of to change capitalization of a
file.

Since you're hacking anyway and will be backing everything up and
testing
anyway--you MIGHT try removing all copies of that file your sandboxes
and
renaming the file directly on the server, then updating again.  I
haven't
heard of anyone trying this, but intuitively it makes sense based on
the
little I know of the inner-workings of CVSNT (is that enough caution
I've
impressed in this paragraph?).  If this works, then you can keep all
the old
history but I don't know if the capitalization is kept anywhere else
(take a
peek in the RCS file itself and the files in CVSROOT, for example).

Regards,

Glen Starrett

-----Original Message-----
From: Zaid, Mahmoud [mailto:Zaidm at Pragmatics.com] 
Sent: Friday, May 23, 2003 11:25 AM
To: 'Glen Starrett'
Subject: RE: [cvsnt] refresh the repos


Thanks Glen for replying; this is an old email I sent to the cvsnt
mailing
list:
I am trying to check in a new file to the repos; this file was alreday
in
the repos but I need to change its name to have the letter T instead of
t. I
removed the old file (editticket.cfm) from the repos but I still get
this
msg (below) when trying to add the file with the new name
(editTicket.cfm).
Would someone help me out here, we just start using CVS in my company
and no
one knows why we can't add/commit this file to the repos. These are
the
steps that I am issuing:

cvs update editTicket.cfm

***** CVS exited normally with code 0 *****

A editTicket.cfm
cvs commit -m "new file" editTicket.cfm

***** CVS exited normally with code 1 *****

cvs [server aborted]: received abort signal
Assertion failed: key != NULL, file hash.c, line 312

What does letter "A" indicate?
Thanks in advance,

-----Original Message-----
From: Glen Starrett [mailto:grstarrett at cox.net] 
Sent: Friday, May 23, 2003 2:16 PM
To: 'Zaid, Mahmoud'; 'CVS (E-mail)'
Subject: RE: [cvsnt] refresh the repos


I'm not sure what you mean.  You can "cvs rm filename" to remove it
from the
repository, it is tossed in the "attic" and history maintained in case
you
need to grab a previous version of your repository.

Hope that helps.

Glen Starrett

-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org]On
Behalf
Of Zaid, Mahmoud
Sent: Friday, May 23, 2003 11:11 AM
To: CVS (E-mail)
Subject: [cvsnt] refresh the repos


Greetings,
Is there a way to "refresh" the repository so it won't refer to a file
that
was deleted?
Thanks,

Regards,
Mahmoud Zaid
703 761-4033 x232

_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook 
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs 

_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook 
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs


More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook