diff options
| author | Richard M. Stallman | 1997-05-04 06:49:53 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-05-04 06:49:53 +0000 |
| commit | 9f49ec7384af42656928aab935f1be366a0214bb (patch) | |
| tree | 9863f25d22df5f3368059e0a87f1201c4262b5f2 /lisp | |
| parent | 5dd0cad0759ef33be44208b60b1d08bde11b1251 (diff) | |
| download | emacs-9f49ec7384af42656928aab935f1be366a0214bb.tar.gz emacs-9f49ec7384af42656928aab935f1be366a0214bb.zip | |
(vc-find-cvs-master): Accept ...+ in a normal entry.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/vc-hooks.el | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lisp/vc-hooks.el b/lisp/vc-hooks.el index 7a59ccc9f0f..da673ecdab4 100644 --- a/lisp/vc-hooks.el +++ b/lisp/vc-hooks.el | |||
| @@ -786,7 +786,7 @@ For CVS, the full name of CVS/Entries is returned." | |||
| 786 | ;; normal entry | 786 | ;; normal entry |
| 787 | ((re-search-forward | 787 | ((re-search-forward |
| 788 | (concat "^/" (regexp-quote basename) | 788 | (concat "^/" (regexp-quote basename) |
| 789 | "/\\([^/]*\\)/[^ /]* \\([A-Z][a-z][a-z]\\) *\\([0-9]*\\) \\([0-9]*\\):\\([0-9]*\\):\\([0-9]*\\) \\([0-9]*\\)") | 789 | "/\\([^/]*\\)/\\([^/+]*\\+\\)?[^ /]* \\([A-Z][a-z][a-z]\\) *\\([0-9]*\\) \\([0-9]*\\):\\([0-9]*\\):\\([0-9]*\\) \\([0-9]*\\)") |
| 790 | nil t) | 790 | nil t) |
| 791 | (setq case-fold-search fold) ;; restore the old value | 791 | (setq case-fold-search fold) ;; restore the old value |
| 792 | ;; We found it. Store away version number now that we | 792 | ;; We found it. Store away version number now that we |
| @@ -797,16 +797,16 @@ For CVS, the full name of CVS/Entries is returned." | |||
| 797 | ;; If the file hasn't been modified since checkout, | 797 | ;; If the file hasn't been modified since checkout, |
| 798 | ;; store the checkout-time. | 798 | ;; store the checkout-time. |
| 799 | (let ((mtime (nth 5 (file-attributes file))) | 799 | (let ((mtime (nth 5 (file-attributes file))) |
| 800 | (second (string-to-number (match-string 6))) | 800 | (second (string-to-number (match-string 7))) |
| 801 | (minute (string-to-number (match-string 5))) | 801 | (minute (string-to-number (match-string 6))) |
| 802 | (hour (string-to-number (match-string 4))) | 802 | (hour (string-to-number (match-string 5))) |
| 803 | (day (string-to-number (match-string 3))) | 803 | (day (string-to-number (match-string 4))) |
| 804 | (year (string-to-number (match-string 7)))) | 804 | (year (string-to-number (match-string 8)))) |
| 805 | (if (equal mtime | 805 | (if (equal mtime |
| 806 | (encode-time | 806 | (encode-time |
| 807 | second minute hour day | 807 | second minute hour day |
| 808 | (/ (string-match | 808 | (/ (string-match |
| 809 | (match-string 2) | 809 | (match-string 3) |
| 810 | "xxxJanFebMarAprMayJunJulAugSepOctNovDec") | 810 | "xxxJanFebMarAprMayJunJulAugSepOctNovDec") |
| 811 | 3) | 811 | 3) |
| 812 | year 0)) | 812 | year 0)) |