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

Re: simple command to show changes made in a revision

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: Fri, 11 Jan 2008 18:32:01 -0600

On Jan 11, 2008, at 18:21, Administrator wrote:

> can anyone tell me what is a simple command to show the last 3-4
> revisions (like 4 digit number)?
> I looked at several command sheets that had been put together but
> have not seen anything.

svn log --quiet --limit 4 $FOO

will show you the last 4 revisions of whatever's at $FOO. $FOO could
be the URL to your entire repository, or the URL to a file in the
repo, or a file or directory in your working copy.

> What is a simple command to show all the changed files in a
> revision number ?
> like suppose I just checked in some file and it returns a revision
> number of 7456
> but then I want to go back and see all files (just the file name)
> that changed in
> revision 7400.

svn diff --summarize -c 7400

The --summarize switch is available as of Subversion 1.4.

The list of modified files is also included in the output of

svn log --verbose -r 7400

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-01-12 01:33:01 CET

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.