Eskil

Check-in [45ac8981fa]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Polished a bit.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 45ac8981fab9ef0b2dc22619b3fafcaa194e59b7
User & Date: peter 2004-08-20 18:17:15.000
Context
2004-08-20
18:21
Added markup. check-in: 1754fa90d2 user: peter tags: trunk
18:17
Polished a bit. check-in: 45ac8981fa user: peter tags: trunk
18:08
Added. check-in: ab2766d375 user: peter tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to doc/revision.txt.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16


17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Eskil can compare versions in revision control systems.
Currently RCS, CVS and ClearCase are supported.

If you specify only one file on the command line to Eskil, it will automatically detect if the file is under revision control and enter revision control mode.

By default the local file is compared against the latest checked in version, which is the simple case when you just want to know what you have changed before checking in.

You can use the -r option to select which version to compare.  It works like it does in "cvs diff". Examples:

<pre>eskil file.txt</pre>
  Compare file.txt with the latest checked in version.
<pre>eskil -r rev file.txt</pre>
  Compare file.txt with the specified version.
<pre>eskil -r rev1 -r rev2 file.txt</pre>
  Compare the two revisions. This does not involve the local copy of file.txt.



<ul>RCS/CVS</ul>

For RCS and CVS version numbers to -r are rather straightforward since they work just like their -r option.

<ul>ClearCase</ul>

For ClearCase there are more possibilities.
ClearCase stream names are build like file paths and in -r you can access the streams similar to how you find files.
Your current stream is the "current directory".
<pre>-r 5                    </pre>: Version 5 in current stream.
<pre>-r .                    </pre>: Latest version in current stream.
<pre>-r /full/path/stream/4  </pre>: The identified version.
<pre>-r /full/path/stream    </pre>: Latest version in that stream.
<pre>-r ../5                 </pre>: Version in parent stream.
<pre>-r ..                   </pre>: Latest in parent stream.





|

|








>
>


|



|
|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Eskil can compare versions in revision control systems.
Currently RCS, CVS and ClearCase are supported.

If you specify only one file on the command line to Eskil, it will automatically detect if the file is under revision control and enter revision control mode.

By default the local file is compared against the latest checked in version.  This is for the common case when you just want to know what you have changed before checking in.

You can use the -r option to select which version to compare.  It works like it does in "cvs diff".  Examples:

<pre>eskil file.txt</pre>
  Compare file.txt with the latest checked in version.
<pre>eskil -r rev file.txt</pre>
  Compare file.txt with the specified version.
<pre>eskil -r rev1 -r rev2 file.txt</pre>
  Compare the two revisions. This does not involve the local copy of file.txt.

The -r options are also available in the GUI in the "Rev 1" and "Rev 2" fields.

<ul>RCS/CVS</ul>

For RCS and CVS the arguments to -r are standard version numbers just like to their -r options.  RCS style -r<rev> is allowed.

<ul>ClearCase</ul>

ClearCase has more complex version "numbers".
ClearCase stream names are built like file paths and in -r you can access the streams similar to how you find files.
Your current stream is the "current directory".
<pre>-r 5                    </pre>: Version 5 in current stream.
<pre>-r .                    </pre>: Latest version in current stream.
<pre>-r /full/path/stream/4  </pre>: The identified version.
<pre>-r /full/path/stream    </pre>: Latest version in that stream.
<pre>-r ../5                 </pre>: Version in parent stream.
<pre>-r ..                   </pre>: Latest in parent stream.