Muffinresearch Labs by Stuart Colville

SVN Tip: Get List of Files Changed Between Revisions | 17 Comments

Posted in Snippets on 15th September 2008, 3:05 pm by

svn diff -r REVNO:HEAD --summarize

Just replace REVNO with the start revision and HEAD with the end revision if you don’t want it to be the latest revision.

Post Tools

  • derek

    Thanks. This was just what I needed.

  • Ray

    Perfect!
    Exactly what I needed too.

  • Joaquin

    Thanks so much. I was looking for this command.

  • Eric

    Is there a way of getting a list of “outgoing files”, that is, those files that have not yet been committed to the repository from the local copy? (And of course, a listing of pending inbound files.)

  • Milan

    Thanks.. I also need the same

  • Kavishwar Wagholikar

    Thanks

  • Jack Meng

    Thanks, really useful!

  • eliss

    Hello all! Do you know any tip to find list of files changed between specific revisions but only for specific let’s say feature? perhaps this command combined with a grep in svn log???

  • Chandran

    Perfect!… I too searching for this one precisely.

  • Megan

    Awesome… I so needed this.

  • http://www.sanjaal.com Bimal

    Thanks, useful.
    Can somebody also tell how to upload the list of modified files, automatically, to an FTP server?

    That would be pretty good.

  • ilayaraja

    thanks this what i want

  • satish

    PERFECT. Looking for this since yesterday

  • Johan

    Eric, Milan

    svn status
    gives you info about new and changed local files that aren’t commited yet.

  • Nmguj

    if i want to  know what changes are made in file then how do i know this
     

  • Rasto

    Very helpfull, thank you!

  • Gregorio

    Easy answer to a big problem for me, thanks!

Insert a tab character in vim when expand tabs is on|(0)

I have vim set-up to use spaces in place of tabs. Sometimes you need to use an actual tab e.g. editing a Makefile. Now whilst it’s possible to change settings so that tabs are used for specific files, a quick tip to remember is to simply type in insert mode:

Ctrl+v tab

That is Ctrl and “V” and hit the tab key, et voila you’ve entered an actual tab.

GNU screen: open tab in current working directory|(1)

A nice trick for having screen open a new tab in the same directory as the one you’re currently in. To use it add it to your .screenrc

# Open new window in current dir.
bind c stuff "screen -X chdir \$PWD;screen^M"
bind ^c stuff "screen -X chdir \$PWD;screen^M"

Hat tip: mteckert on SuperUser.com

Photos on Flickr

© Copyright 2004-13 Stuart Colville, all rights reserved. May contain traces of Muffin. Powered by WordPress. Hosting by Slicehost.com This page was baked in 0.465s.