Differentiating Between Various Versions - Red Hat NETWORK 4.1.0 Reference Manual

Hide thumbs Also See for NETWORK 4.1.0:
Table of Contents

Advertisement

204
+++ /home/test/blah/hello_world.txt
-0500 @@ -1 +1 @@ -foo +hello, world
The following table lists the options available for
Option
-cCHANNEL, --channel=CHANNEL Get file(s) from this config channel
-rREVISION, --revision=REVISION
-dDEST_FILE,
--dest-file=DEST_FILE
-tTOPDIR, --topdir=TOPDIR
-h, --help
Table A-5.
rhncfg-manager diff
A.3.4. Differentiating between Various Versions
To compare different versions of a file across channels and revisions, use the
cate which revision of the file should be compared and the
nels to be checked. Refer to Section A.3.11 Determining the Number of File Revisions for
related instructions. Specify only one file name here, since you are comparing the file
against another version of itself. For example:
rhncfg-manager diff-revisions
-n=channel-label1
-r=1
-n=channel-label2
-r=1
/path/to/file.txt
The output resembles the following:
--- /tmp/dest_path/example-config.txt
config channel: example-channel2
--- /tmp/dest_path/example-config.txt
config channel: example-channel3
+blaaaaaaaaaaaaaaah
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.0.6 (GNU/Linux)
+Comment: For info see http://www.gnupg.org
+
Appendix A. Command Line Config Management Tools
2003-12-14
Description
Use this revision
Upload the file as this path
Make all files relative to this string
Show help message and exit
options
2004-01-13 14:36:41
revision: 1
2004-01-13 14:42:42
revision: 1 @@ -1 +1,20 @@ -foo
19:08:59.000000000
rhncfg-manager diff
flag to identify the two chan-
-n
:
flag to indi-
-r
\
\

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents