aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndré Spiegel2000-11-16 11:04:00 +0000
committerAndré Spiegel2000-11-16 11:04:00 +0000
commit22933be894e62f74bc1f8702a986d29da6e6b0ef (patch)
tree63cac4d391c5f45e44af0900bcf0622acf4a9444
parent1389a414e037c241c96bee50f3258c2b712981fe (diff)
downloademacs-22933be894e62f74bc1f8702a986d29da6e6b0ef.tar.gz
emacs-22933be894e62f74bc1f8702a986d29da6e6b0ef.zip
Updated VC news.
-rw-r--r--etc/NEWS59
1 files changed, 58 insertions, 1 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 6c53c229db7..b662e84a840 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1481,6 +1481,47 @@ operations.
1481`vc-print-log' uses `log-view-mode'. 1481`vc-print-log' uses `log-view-mode'.
1482`vc-log-mode' (used for *VC-Log*) has been replaced by `log-edit-mode'. 1482`vc-log-mode' (used for *VC-Log*) has been replaced by `log-edit-mode'.
1483 1483
1484The command C-x v m (vc-merge) now accepts an empty argument as the
1485first revision number. This means that any recent changes on the
1486current branch should be picked up from the repository and merged into
1487the working file (``merge news'').
1488
1489The commands C-x v s (vc-create-snapshot) and C-x v r
1490(vc-retrieve-snapshot) now ask for a directory name from which to work
1491downwards.
1492
1493*** Multiple Backends
1494
1495VC now lets you register files in more than one backend. This is
1496useful, for example, if you are working with a slow remote CVS
1497repository. You can then use RCS for local editing, and occasionally
1498commit your changes back to CVS, or pick up changes from CVS into your
1499local RCS archives.
1500
1501To make this work, the ``more local'' backend (RCS in our example)
1502should come first in `vc-handled-backends', and the ``more remote''
1503backend (CVS) should come later. (The default value of
1504`vc-handled-backends' already has it that way.)
1505
1506If you have a file registered in one backend already, you can register
1507it in a second one by using C-x v i (vc-register) again.
1508Alternatively, you can commit changes to another backend (say, RCS),
1509by typing C-u C-x v v RCS RET (i.e. vc-next-action now accepts a
1510backend name as a revision number). When using the latter approach,
1511VC registers the file in the more local backend if that hasn't already
1512happened, and commits to a branch based on the current revision number
1513from the more remote backend.
1514
1515If a file is registered in multiple backends, you can switch to
1516another one using C-x v b (vc-switch-backend). This does not change
1517any files, it only changes VC's perspective on the file. Use this to
1518pick up changes from CVS while working under RCS locally.
1519
1520After you are done with your local RCS editing, you can commit your
1521changes back to CVS using C-u C-x v v CVS RET. In this case, the
1522local RCS archive is removed after the commit, and the log entry
1523buffer is initialized to contain the entire RCS change log of the file.
1524
1484*** Changes for CVS 1525*** Changes for CVS
1485 1526
1486There is a new user option, `vc-cvs-stay-local'. If it is `t' (the 1527There is a new user option, `vc-cvs-stay-local'. If it is `t' (the
@@ -1491,10 +1532,21 @@ regexp to match against repository hostnames; only files from hosts
1491that match it are treated locally. If the variable is nil, then VC 1532that match it are treated locally. If the variable is nil, then VC
1492queries the repository just as often as it does for local files. 1533queries the repository just as often as it does for local files.
1493 1534
1535If `vc-cvs-stay-local' is on, then VC also makes local backups of
1536repository versions. This means that ordinary diffs (C-x v =) and
1537revert operations (C-x v u) can be done completely locally, without
1538any repository interactions at all. The name of a local version
1539backup of FILE is FILE.~REV.~, where REV is the repository version
1540number. This format is similar to that used by C-x v ~
1541(vc-version-other-window), except for the trailing dot. As a matter
1542of fact, the two features can each use the files created by the other,
1543the only difference being that files with a trailing `.' are deleted
1544automatically after commit.
1545
1494If `vc-cvs-stay-local' is on, and there have been changes in the 1546If `vc-cvs-stay-local' is on, and there have been changes in the
1495repository, VC notifies you about it when you actually try to commit. 1547repository, VC notifies you about it when you actually try to commit.
1496If you want to check for updates from the repository without trying to 1548If you want to check for updates from the repository without trying to
1497commit, you can either use C-u C-x v m to perform an update on the 1549commit, you can either use C-x v m RET to perform an update on the
1498current file, or you can use C-x v r RET to get an update for an 1550current file, or you can use C-x v r RET to get an update for an
1499entire directory tree. 1551entire directory tree.
1500 1552
@@ -1503,6 +1555,11 @@ The new user option `vc-cvs-use-edit' indicates whether VC should call
1503is only meaningful if the CVSREAD variable is set, or if files are 1555is only meaningful if the CVSREAD variable is set, or if files are
1504"watched" by other developers.) 1556"watched" by other developers.)
1505 1557
1558The commands C-x v s (vc-create-snapshot) and C-x v r
1559(vc-retrieve-snapshot) are now also implemented for CVS. If you give
1560an empty argument to the latter, that performs a `cvs update',
1561starting at the given directory.
1562
1506*** Lisp Changes in VC 1563*** Lisp Changes in VC
1507 1564
1508VC has been restructured internally to make it modular. You can now 1565VC has been restructured internally to make it modular. You can now