diff options
| author | Paul Eggert | 1996-11-03 17:09:27 +0000 |
|---|---|---|
| committer | Paul Eggert | 1996-11-03 17:09:27 +0000 |
| commit | 7e02c4ddef547e171dd5e81682b705930311b7fd (patch) | |
| tree | e30c60de61a246666b8b8a28e34a700dc552d4ea /lib-src | |
| parent | e3c8df7c602821373a6566795ba279f835ec4bdb (diff) | |
| download | emacs-7e02c4ddef547e171dd5e81682b705930311b7fd.tar.gz emacs-7e02c4ddef547e171dd5e81682b705930311b7fd.zip | |
When processing cvs log output, remove `Attic/' from repository file names.
Diffstat (limited to 'lib-src')
| -rwxr-xr-x | lib-src/rcs2log | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib-src/rcs2log b/lib-src/rcs2log index e68c5616e22..44a12bd3da8 100755 --- a/lib-src/rcs2log +++ b/lib-src/rcs2log | |||
| @@ -12,7 +12,7 @@ | |||
| 12 | 12 | ||
| 13 | # Author: Paul Eggert <eggert@twinsun.com> | 13 | # Author: Paul Eggert <eggert@twinsun.com> |
| 14 | 14 | ||
| 15 | # $Id: rcs2log,v 1.33 1996/10/12 17:24:45 eggert Exp eggert $ | 15 | # $Id: rcs2log,v 1.34 1996/10/13 05:59:42 eggert Exp eggert $ |
| 16 | 16 | ||
| 17 | # Copyright 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc. | 17 | # Copyright 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc. |
| 18 | 18 | ||
| @@ -454,6 +454,11 @@ $AWK <$rlogout ' | |||
| 454 | if (filename ~ /,v$/) { | 454 | if (filename ~ /,v$/) { |
| 455 | filename = substr(filename, 1, length(filename) - 2) | 455 | filename = substr(filename, 1, length(filename) - 2) |
| 456 | } | 456 | } |
| 457 | if (filename ~ /(^|\/)Attic\/[^\/]*$/) { | ||
| 458 | i = length(filename) | ||
| 459 | while (substr(filename, i, 1) != "/") i-- | ||
| 460 | filename = substr(filename, 1, i - 6) substr(filename, i + 1) | ||
| 461 | } | ||
| 457 | } | 462 | } |
| 458 | rev = "?" | 463 | rev = "?" |
| 459 | } | 464 | } |