# HG changeset patch # User Juanma Barranquero # Date 1203193276 0 # Node ID 684473b333abb8e4db23f2e94754e89252da6915 # Parent 72541e48d0d0e015539f8c5ef716fa74b16182b4 Revert previous change. diff -r 72541e48d0d0 -r 684473b333ab lisp/vc-hooks.el --- a/lisp/vc-hooks.el Sat Feb 16 20:20:32 2008 +0000 +++ b/lisp/vc-hooks.el Sat Feb 16 20:21:16 2008 +0000 @@ -316,7 +316,7 @@ If WITNESS if not found, return nil, otherwise return the root." ;; Represent /home/luser/foo as ~/foo so that we don't try to look for ;; witnesses in /home or in /. - (while (and (not (file-directory-p file)) (file-exists-p file)) + (while (not (file-directory-p file)) (setq file (file-name-directory (directory-file-name file)))) (setq file (abbreviate-file-name file)) (let ((root nil)