3

似乎表演svn log给了我过时的信息,除非我先做svn update。但有时我不想更新。有没有办法在不更新的情况下获得最新的日志(至少关于我自己的提交)?

4

1 回答 1

3

尝试:

svn log -r 1:HEAD /path/to/working/copy

根据您的喜好替换修订号。

Valid options:
  -r [--revision] ARG      : ARG (some commands also take ARG1:ARG2 range)
                             A revision argument can be one of:
                                NUMBER       revision number
                                '{' DATE '}' revision at start of the date
                                'HEAD'       latest in repository
                                'BASE'       base rev of item's working copy
                                'COMMITTED'  last commit at or before BASE
                                'PREV'       revision just before COMMITTED
于 2012-04-04T16:55:32.633 回答