Differentiating between Various Versions
243
/tmp/dest_path/example-config.txt /home/test/blah/hello_world.txt --- /
tmp/dest_path/example-config.txt config_channel: example-channel revision:
1 +++ /home/test/blah/hello_world.txt 2003-12-14 19:08:59.000000000 -0500
@@ -1 +1 @@ -foo +hello, world
The following table lists the options available for
rhncfg-manager diff
:
Option
Description
-cCHANNEL, --channel=CHANNEL
Get file(s) from this config channel
-rREVISION, --revision=REVISION
Use this revision
-dDEST_FILE, --dest-file=DEST_FILE
Upload the file as this path
-tTOPDIR, --topdir=TOPDIR
Make all files relative to this string
-h, --help
Show help message and exit
Table B.5.
rhncfg-manager diff
options
B.3.4. Differentiating between Various Versions
To compare different versions of a file across channels and revisions, use the
-r
flag to indicate
which revision of the file should be compared and the
-n
flag to identify the two channels to be
checked. Refer to
Section B.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 2004-01-13 14:36:41
\ config channel: example-channel2 revision: 1 --- /tmp/
dest_path/example-config.txt 2004-01-13 14:42:42 \ config
channel: example-channel3 revision: 1 @@ -1 +1,20 @@ -foo
+blaaaaaaaaaa-----BEGIN PGP SIGNATURE----- +Version: GnuPG
v1.0.6 (GNU/Linux) +Comment: For info see http://www.gnupg.org +
+iD8DBQA9ZY6vse4XmfJPGwgRAsHcAJ9ud9dabUcdscdcqB8AZP7e0Fua0NmKsdhQCeOWHX
+VsDTfen2NWS+Cow= +=Ltp2 +-----END PGP SIGNATURE-----
The following table lists the options available for
rhncfg-manager diff-revisions
:
Option
Description
-cCHANNEL, --channel=CHANNEL
Use this config channel
-rREVISION, --revision=REVISION
Use this revision
-h, --help
Show help message and exit
Table B.6.
rhncfg-manager diff-revisions
options
Содержание NETWORK SATELLITE 5.3.0 - CHANNEL MANAGEMENT
Страница 1: ...Red Hat Network Satellite 5 3 0 Reference Guide Red Hat Network Satellite ...
Страница 32: ...20 ...
Страница 44: ...Chapter 4 Red Hat Update Agent 32 Figure 4 11 Available Package Updates ...
Страница 168: ...156 ...
Страница 180: ...168 ...
Страница 216: ...204 ...
Страница 232: ...220 ...
Страница 248: ...236 ...
Страница 260: ...248 ...
Страница 309: ...297 Appendix E Revision History Revision 1 0 Fri Feb 27 2009 ...
Страница 310: ...298 ...
Страница 318: ...306 ...