1 log: Show the log messages for a set of revision(s) and/or file(s).
3 2. log URL[@REV] [PATH...]
5 1. Print the log messages for a local PATH (default: '.').
6 The default revision range is BASE:1.
8 2. Print the log messages for the PATHs (default: '.') under URL.
9 If specified, REV determines in which revision the URL is first
10 looked up. The default revision range is HEAD:1.
12 With -v, also print all affected paths with each log message.
13 With -q, don't print the log message body itself (note that this is
16 Each log message is printed just once, even if more than one of the
17 affected paths for that revision were explicitly requested. Logs
18 follow copy history by default. Use --stop-on-copy to disable this
19 behavior, which can be useful for determining branchpoints.
24 svn log http://www.example.com/repo/project/foo.c
25 svn log http://www.example.com/repo/project foo.c bar.c
28 -r [--revision] ARG : ARG (some commands also take ARG1:ARG2 range)
29 A revision argument can be one of:
30 NUMBER revision number
31 '{' DATE '}' revision at start of the date
32 'HEAD' latest in repository
33 'BASE' base rev of item's working copy
34 'COMMITTED' last commit at or before BASE
35 'PREV' revision just before COMMITTED
36 -q [--quiet] : print nothing, or only summary information
37 -v [--verbose] : print extra information
38 -g [--use-merge-history] : use/display additional information from merge
40 -c [--change] ARG : the change made by ARG
41 --targets ARG : pass contents of file ARG as additional args
42 --stop-on-copy : do not cross copies while traversing history
43 --incremental : give output suitable for concatenation
45 -l [--limit] ARG : maximum number of log entries
46 --with-all-revprops : retrieve all revision properties
47 --with-revprop ARG : retrieve revision property ARG
50 --username ARG : specify a username ARG
51 --password ARG : specify a password ARG
52 --no-auth-cache : do not cache authentication tokens
53 --non-interactive : do no interactive prompting
54 --config-dir ARG : read user configuration files from directory ARG
56 switch (sw): Update the working copy to a different URL.
57 usage: 1. switch URL[@PEGREV] [PATH]
58 2. switch --relocate FROM TO [PATH...]
60 1. Update the working copy to mirror a new URL within the repository.
61 This behaviour is similar to 'svn update', and is the way to
62 move a working copy to a branch or tag within the same repository.
63 If specified, PEGREV determines in which revision the target is first
66 If --force is used, unversioned obstructing paths in the working
67 copy do not automatically cause a failure if the switch attempts to
68 add the same path. If the obstructing path is the same type (file
69 or directory) as the corresponding path in the repository it becomes
70 versioned but its contents are left 'as-is' in the working copy.
71 This means that an obstructing directory's unversioned children may
72 also obstruct and become versioned. For files, any content differences
73 between the obstruction and the repository are treated like a local
74 modification to the working copy. All properties from the repository
75 are applied to the obstructing path.
77 Use the --set-depth option to set a new working copy depth on the
78 targets of this operation. Currently, the depth of a working copy
79 directory can only be increased (telescoped more deeply); you cannot
80 make a directory more shallow.
82 2. Rewrite working copy URL metadata to reflect a syntactic change only.
83 This is used when repository's root URL changes (such as a scheme
84 or hostname change) but your working copy still reflects the same
85 directory within the same repository.
88 -r [--revision] ARG : ARG (some commands also take ARG1:ARG2 range)
89 A revision argument can be one of:
90 NUMBER revision number
91 '{' DATE '}' revision at start of the date
92 'HEAD' latest in repository
93 'BASE' base rev of item's working copy
94 'COMMITTED' last commit at or before BASE
95 'PREV' revision just before COMMITTED
96 -N [--non-recursive] : obsolete; try --depth=files or --depth=immediates
97 --depth ARG : limit operation by depth ARG ('empty', 'files',
98 'immediates', or 'infinity')
99 --set-depth ARG : set new working copy depth to ARG ('empty',
100 'files', 'immediates', or 'infinity')
101 -q [--quiet] : print nothing, or only summary information
102 --diff3-cmd ARG : use ARG as merge command
103 --relocate : relocate via URL-rewriting
104 --ignore-externals : ignore externals definitions
105 --force : force operation to run
106 --accept ARG : specify automatic conflict resolution action
107 ('postpone', 'base', 'mine', 'theirs', 'edit',
111 --username ARG : specify a username ARG
112 --password ARG : specify a password ARG
113 --no-auth-cache : do not cache authentication tokens
114 --non-interactive : do no interactive prompting
115 --config-dir ARG : read user configuration files from directory ARG