[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Whatstrings

From: David Weintraub <qazwart_at_gmail.com>
Date: Sat, 6 Sep 2008 22:42:40 -0400

Never mentioned your exact problem.

Subversion is (almost) command for command compatible with CVS. You do
a "cvs co" to create a working copy in CVS. You do a "svn co" to
create a working copy in Subversion. You make your changes in CVS and
do a "cvs commit". In Subversion, you make your changes and do a "svn
commit". The workflow is very similar.

Now, there are some changes, but most people think of them as vast
improvements. Subversion truly treats commits as a single transaction
while CVS treats a commit as each file getting an independent
transaction. Thus, in Subversion, checking out a particular revision
gives you exactly what you want while it might not in CVS. There is
also a branching style that most developers find easier to use,
tracking of directories, and file properties.

Now, I am going to assume your problem is that CVS keywords are not
working. In Subversion, CVS Keywords are *NOT* automatically turned
on. This again, is a big improvement over CVS which would
automatically try to expand keywords unless you state otherwise. We
had a ton of problems with Jarfiles not working because someone forgot
to use a "cvs admin -kb" on that file to turn off keyword expansion.

Someone already gave you the link to the part of the Subversion manual
about CVS Keyword expansion. The expansion will be a bit different
from before, but that should be expected because Subversion's revision
numbering scheme is a bit different.

Or, is your question about a particular revision that you've checked
into CVS and then moved to Subversion via the "cvs2svn" command? Are
you attempting to checkout the file that contained this keyword
expansion?

If so, you can do a checkout by date. If so, take a look at
<http://svnbook.red-bean.com/en/1.4/svn-book.html#svn.tour.revs.dates>
which will tell you how to check out a particular revision by the
datetime stamp. I believe commit times are preserved if you used the
cvs2svn command.

--
David Weintraub
qazwart_at_gmail.com
On Sat, Sep 6, 2008 at 1:33 AM, jam <jam_at_tigger.ws> wrote:
> Hi
>
> I had a bad experience trying to use subversion after cvs, so I'm trying
> again :-)
>
> Somewhere in the world is an executable someprog.
> I need to exactly re-create the environment from which it came ie
> ident someprog
> someprog:
>
> $Header: /home/cvs/ltouch/parse.c,v 2.9 2008/03/23 09:44:39 jam Exp $
> $Header: /home/cvs/ltouch/tkAppInit.c,v 2.11 2008/03/23 09:44:39 jam Exp
> $
> $Header: /home/cvs/ltouch/do.c,v 2.16 2008/03/23 09:44:39 jam Exp $
> $Header: /home/cvs/ltouch/term.c,v 2.5 2008/03/09 05:09:35 jam Exp $
>
> Now I can *exactly* recreate this version of someprog, it's ROM or flash
> whatever.
>
> Is subversion the wrong tool for what I need to do?
>
> Thanks
> James
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-07 04:43:03 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.