/[emacs]/emacs/lisp/vc-rcs.el
ViewVC logotype

Diff of /emacs/lisp/vc-rcs.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.21 by spiegel, Tue Aug 28 17:05:12 2001 UTC revision 1.21.4.1 by spiegel, Sat Jul 20 17:29:58 2002 UTC
# Line 657  This function sets the properties `vc-wo Line 657  This function sets the properties `vc-wo
657  `vc-checkout-model' to their correct values, based on the master  `vc-checkout-model' to their correct values, based on the master
658  file."  file."
659    (with-temp-buffer    (with-temp-buffer
660      (vc-insert-file (vc-name file) "^[0-9]")      (if (or (not (vc-insert-file (vc-name file) "^[0-9]"))
661                (progn (goto-char (point-min))
662                       (not (looking-at "^head[ \t\n]+[^;]+;$"))))
663            (error "File %s is not an RCS master file" (vc-name file)))
664      (let ((workfile-is-latest nil)      (let ((workfile-is-latest nil)
665            (default-branch (vc-parse-buffer "^branch[ \t\n]+\\([^;]*\\);" 1)))            (default-branch (vc-parse-buffer "^branch[ \t\n]+\\([^;]*\\);" 1)))
666        (vc-file-setprop file 'vc-rcs-default-branch default-branch)        (vc-file-setprop file 'vc-rcs-default-branch default-branch)

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.21.4.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26