diff options
| author | Stefan Monnier | 2008-05-05 06:38:04 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2008-05-05 06:38:04 +0000 |
| commit | 11a36f646ec2f2e9a479e1d1830de01feda92c2e (patch) | |
| tree | ad5e77a59a1eef93da84dde769089863ccbe2e2d /lisp | |
| parent | 8653eee82efbe2b3b14f671f3f991c356c2a5065 (diff) | |
| download | emacs-11a36f646ec2f2e9a479e1d1830de01feda92c2e.tar.gz emacs-11a36f646ec2f2e9a479e1d1830de01feda92c2e.zip | |
(vc-rcs-fetch-master-state): Fix inf-loop.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/vc-rcs.el | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0b4bbaa8fda..eea22d639d7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2008-05-05 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * vc-rcs.el (vc-rcs-fetch-master-state): Fix inf-loop. | ||
| 4 | |||
| 1 | 2008-05-05 Tom Tromey <tromey@redhat.com> | 5 | 2008-05-05 Tom Tromey <tromey@redhat.com> |
| 2 | 6 | ||
| 3 | * smerge-mode.el (smerge-start-session): Don't call smerge-next if | 7 | * smerge-mode.el (smerge-start-session): Don't call smerge-next if |
diff --git a/lisp/vc-rcs.el b/lisp/vc-rcs.el index 84cd589d4b7..3d9fe2be463 100644 --- a/lisp/vc-rcs.el +++ b/lisp/vc-rcs.el | |||
| @@ -893,7 +893,8 @@ file." | |||
| 893 | ;; locked by the calling user | 893 | ;; locked by the calling user |
| 894 | ((and (stringp locking-user) | 894 | ((and (stringp locking-user) |
| 895 | (string= locking-user (vc-user-login-name file))) | 895 | (string= locking-user (vc-user-login-name file))) |
| 896 | (if (or (eq (vc-rcs-checkout-model (list file)) 'locking) | 896 | ;; Don't call `vc-rcs-checkout-model' to avoid inf-looping. |
| 897 | (if (or (eq (vc-file-getprop file 'vc-checkout-model) 'locking) | ||
| 897 | workfile-is-latest | 898 | workfile-is-latest |
| 898 | (vc-rcs-latest-on-branch-p file working-revision)) | 899 | (vc-rcs-latest-on-branch-p file working-revision)) |
| 899 | 'edited | 900 | 'edited |