Skip navigation

I wanted this so bad …
that is, basically retrieving a file at a particular revision point to the screen. By redirecting it to a file (toView.css, in this case) I can later run the diff-buffer (or diff-files) in emacs to see what was changed.

svn cat -r 3087  t/tmpl/src/css/general.css > general_at_3087.css

Note that prior to that, in order to know what revision point to pull out, I simply ran an svn log command for the file:

svn log -v t/tmpl/src/css/general.css

Another very useful one:
On how to see changes made by specific user:

svn log | sed -n '/username/,/-----$/ p' 

In order to see svn entries in reverse order (from last to older) as this is what I need most of the time. In this case the last 20:

svn -v --limit 20 log
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: