How To View SVN Revision Log Via Command Line

When using SVN via command line you can view the details of previous revisions by viewing the SVN log. Call the log along with the number of revisions you want to have returned to you will display the message left when the file was committed, number of lines changed, user, date and a few other details. Ideally you would have access to a GUI tool such as tortoise SVN which will give you a much more feature rich log along with the ability to compare current revisions with past revisions.

In order for this to work you need to be in the directory of an SVN checkout. If you do this in a directory that is not a SVN folder you will get an error message due to an unrecognized directory.

cd /dir/to/checkout

svn log --limit 2

------------------------------------------------------------------------
r61 | root | 2015-02-23 09:05:53 +0100 (Mon, 23 Feb 2015) | 1 line

Fixed something
------------------------------------------------------------------------
r60 | root | 2015-02-23 09:01:04 +0100 (Mon, 23 Feb 2015) | 1 line

Added something
------------------------------------------------------------------------

If you want to display everything within a specific date range you can use the following

svn log -r {2015-02-02}:{2015-02-03}

If you want to list everything (may not be all that good of an idea if you have a huge amount of revisions).

Ascending Order

svn log -r 1:HEAD

Descending Order

svn log -r HEAD:1

Related Articles

Related Questions

Are my 9800x3d temps normal in Cinebench 2024?

I'm running a 9800x3d in a Fractal North case equipped with the stock front fans and a Noctua NF-P12 for exhaust. I'm using a...

Should I Switch from Mechanical Engineering to Game Development?

Hey everyone! I'm currently in my fifth semester of Mechanical Engineering, but I've recently discovered a passion for game programming, particularly for physics-based games....

Why Does My Android Phone Keep Filling Up Space?

I'm really struggling with storage on my Android phone. Even after I clear space by deleting old photos and videos, I notice that the...

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Latest Tools

Scavenger Hunt Team Randomizer

Planning a scavenger hunt and need to split participants into random teams? Whether you're organizing a school activity, a corporate team-building event, or a...

File Hash Generator Online – Get Instant MD5 and SHA-256 Hashes

Whether you are validating downloads, checking for corruption, or comparing files for duplicates, having a fast and secure way to generate file hashes is...

Visual CSS Editor for Modern Glass UI Effects

Modern UI design is all about clean, layered aesthetics, and few styles deliver this better than glassmorphism. If you're designing sleek user interfaces and...

Fast and Accurate Tap BPM Counter – Free Web Tool

Whether you're producing music, DJing live, or just figuring out the tempo of a song, knowing the BPM (beats per minute) can be critical....

Glassmorphism CSS Generator with Live Preview

Glassmorphism is one of the most visually striking design trends in modern UI. Its soft, frosted-glass effect adds depth and elegance to web interfaces,...

Add Custom Speech and Caption Boxes to Any Image Online

Creating comic-style images used to require complex design tools or specialist software. Whether you're making memes, teaching graphics, social media posts or lighthearted content,...

Latest Posts

Latest Questions