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

Re: From a cvs user... about revisions

From: Mark Eichin <eichin_at_gmail.com>
Date: Sun, 11 Oct 2009 12:11:38 -0400

You can't not have a log - you can merely have a blank one. (Repositories
are cheap, try it :-) While it's probably fine for your use, it's a bad
habit - one of the more common commit hooks is one that rejects the commit
if the log is blank...

As for the diffs, you might want to look at "diff -c" as well, for just
looking at a single rev without doing the addition yourself. Also log

On Oct 11, 2009 11:58 AM, "Harry Putnam" <reader_at_newsguy.com> wrote:

Pat Farrell <pfarrell_at_pfarrell.com> writes: > Harry Putnam wrote: >> I want
to retrieve a certain c...
Yeah I got that part... that is the source of my misgivings.

> But the log for each file has the revision history for that file, its >
just that the number will...
Thanks ... good info. It appears that you may have actually made log
entries during commit... if you hadn't would it still be easy to find a

I ask because during my cvs usage... I often commit without typing a
log comment. It can work because I'm the only user... and will often
be committing something I think is insignificant. But sometimes I'll
want to look up one of those `insignificant' changes, and will know it
was within a few commits ago or etc, so can call the revision straightaway.

I might say cvs status path/file,,, to see current rev number.. then

 cvs diff -r N.N path/file to examine differences or

 cvs co -p -r N.N path/file > ~/file

To get the actual revised file on STDOUT and redirect for a thorough

I guess maybe all the same things or similar things would be available
in subversion... but the book makes it sound as if you wouldn't be
able to associate specific changes with specific number of revisions
back... since other revisions not effecting the file of interest might
have occurred.


To unsubscribe from this discussion, e-mail: [


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-11 18:12:54 CEST

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