How do you see recent SVN log entries?

后端 未结 9 2217
生来不讨喜
生来不讨喜 2020-12-04 04:55

Typing svn log spits out an incredibly long, useless list on a command line. I have no idea why that is the default. If I wanted to read (or even could read) 30

9条回答
  •  粉色の甜心
    2020-12-04 05:34

    I like to use -v for verbose mode.
    It'll give you the commit id, comments and all affected files.

    svn log -v --limit 4
    

    Example of output:

    I added some migrations and deleted a test xml file
    ------------------------------------------------------------------------
    r58687 | mr_x | 2012-04-02 15:31:31 +0200 (Mon, 02 Apr 2012) | 1 line Changed
    paths: 
    A /trunk/java/App/src/database/support    
    A /trunk/java/App/src/database/support/MIGRATE    
    A /trunk/java/App/src/database/support/MIGRATE/remove_device.sql
    D /trunk/java/App/src/code/test.xml
    

提交回复
热议问题