diff options
| author | André Spiegel | 2003-05-23 17:57:29 +0000 |
|---|---|---|
| committer | André Spiegel | 2003-05-23 17:57:29 +0000 |
| commit | 63274db1395bb948af8120c0d9dd83dadc34b5f9 (patch) | |
| tree | 9ff135f20f768631f046e3fb6d84137c6a4c8ce5 /lisp | |
| parent | 8bee10187cd6af7a42b4842deb47f8813496db49 (diff) | |
| download | emacs-63274db1395bb948af8120c0d9dd83dadc34b5f9.tar.gz emacs-63274db1395bb948af8120c0d9dd83dadc34b5f9.zip | |
(vc-cvs-checkout): Don't leave the branch when REV is t.
From Don Provan <dprovan@bivio.net>.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/vc-cvs.el | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/lisp/vc-cvs.el b/lisp/vc-cvs.el index 798ee5c6803..e2374c0e7f4 100644 --- a/lisp/vc-cvs.el +++ b/lisp/vc-cvs.el | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | ;; Author: FSF (see vc.el for full credits) | 5 | ;; Author: FSF (see vc.el for full credits) |
| 6 | ;; Maintainer: Andre Spiegel <spiegel@gnu.org> | 6 | ;; Maintainer: Andre Spiegel <spiegel@gnu.org> |
| 7 | 7 | ||
| 8 | ;; $Id: vc-cvs.el,v 1.59 2003/05/08 20:44:50 monnier Exp $ | 8 | ;; $Id: vc-cvs.el,v 1.60 2003/05/09 14:32:01 monnier Exp $ |
| 9 | 9 | ||
| 10 | ;; This file is part of GNU Emacs. | 10 | ;; This file is part of GNU Emacs. |
| 11 | 11 | ||
| @@ -428,11 +428,14 @@ REV is the revision to check out into WORKFILE." | |||
| 428 | 'implicit))) | 428 | 'implicit))) |
| 429 | "-w") | 429 | "-w") |
| 430 | "update" | 430 | "update" |
| 431 | ;; default for verbose checkout: clear the sticky tag so | 431 | (when rev |
| 432 | ;; that the actual update will get the head of the trunk | 432 | (unless (eq rev t) |
| 433 | (if (or (not rev) (eq rev t) (string= rev "")) | 433 | ;; default for verbose checkout: clear the |
| 434 | "-A" | 434 | ;; sticky tag so that the actual update will |
| 435 | (concat "-r" rev)) | 435 | ;; get the head of the trunk |
| 436 | (if (string= rev "") | ||
| 437 | "-A" | ||
| 438 | (concat "-r" rev)))) | ||
| 436 | switches)))) | 439 | switches)))) |
| 437 | (vc-mode-line file) | 440 | (vc-mode-line file) |
| 438 | (message "Checking out %s...done" filename))))) | 441 | (message "Checking out %s...done" filename))))) |