diff options
| -rw-r--r-- | lisp/vc-rcs.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/vc-rcs.el b/lisp/vc-rcs.el index ca22bac1642..3bcb3c8038a 100644 --- a/lisp/vc-rcs.el +++ b/lisp/vc-rcs.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-rcs.el,v 1.31 2002/11/13 12:38:20 spiegel Exp $ | 8 | ;; $Id: vc-rcs.el,v 1.32 2002/12/26 14:06:33 spiegel Exp $ |
| 9 | 9 | ||
| 10 | ;; This file is part of GNU Emacs. | 10 | ;; This file is part of GNU Emacs. |
| 11 | 11 | ||
| @@ -325,6 +325,8 @@ whether to remove it." | |||
| 325 | default-branch) | 325 | default-branch) |
| 326 | (setq rev default-branch) | 326 | (setq rev default-branch) |
| 327 | (setq switches (cons "-f" switches))) | 327 | (setq switches (cons "-f" switches))) |
| 328 | (if (and (not rev) old-version) | ||
| 329 | (setq rev (vc-branch-part old-version))) | ||
| 328 | (apply 'vc-do-command nil 0 "ci" (vc-name file) | 330 | (apply 'vc-do-command nil 0 "ci" (vc-name file) |
| 329 | ;; if available, use the secure check-in option | 331 | ;; if available, use the secure check-in option |
| 330 | (and (vc-rcs-release-p "5.6.4") "-j") | 332 | (and (vc-rcs-release-p "5.6.4") "-j") |