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

commit message for out-of-date files

From: Kurt Schaefer <kurt.schaefer_at_gmail.com>
Date: Wed, 16 Apr 2008 18:31:50 -0700

So say I do a:

svn status -u

and I see that file.c is out of data:

      * 2343 src\file.c

I'd really like to find out what the commit message was for the commit
that made it that way. If you just do an svn log on the file, it only
shows you the commit messages up until the version I have in
my tree. All well and good.

I can see the diff of the new stuff by doing:

svn diff src\file.c -r HEAD

But I can't seem to get the commit message for the new stuff.

svn log src\file.c -r HEAD

I get a:

-------------------------------------------------------------------

I've poked around a bit, and don't know how to get the commit message.

This seems like something people would want to do all the time, but
I'm having trouble finding how to do it. I don't want to update the file
before reading the commit message. Help!

I've tried doing a:

svn status -u -v src\file.c

    * 2342 2330 personwhoeditedthefile src\file.c

so I can figure out who edited the file, but neither of those revision
numbers gives me the comment of interest via svn log with the -r flag.
I just don't know how to do this. Keep in mind that I don't want to do
an update just to see what the commit message is (was). The
whole point is I'd like to find out what the changes are about
non-destructively.

   Thanks for you help,
        -Kurt

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-04-17 19:01:15 CEST

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