summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-01-07 15:48:22 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-01-07 15:48:22 +0000
commite321ca862ddde2834d4e557e7c13f40fd6ed383f (patch)
treefbf533b3c09f489184b3ccd9dc021de3596aa687
parent317b03a401df8bfb16f001830bc3a3fa3945d0b1 (diff)
Fix it so we can resurrect dead files on tagged branches.
-rw-r--r--gnu/usr.bin/cvs/src/commit.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/usr.bin/cvs/src/commit.c b/gnu/usr.bin/cvs/src/commit.c
index a50e84298cc..c37ed7155c7 100644
--- a/gnu/usr.bin/cvs/src/commit.c
+++ b/gnu/usr.bin/cvs/src/commit.c
@@ -589,7 +589,7 @@ check_fileproc (file, update_dir, repository, entries, srcfiles)
if (status == T_ADDED)
{
char rcs[PATH_MAX];
-
+#ifndef DEATH_SUPPORT
#ifdef DEATH_SUPPORT
/* Don't look in the attic; if it exists there we will
move it back out in checkaddfile. */
@@ -610,6 +610,7 @@ check_fileproc (file, update_dir, repository, entries, srcfiles)
freevers_ts (&vers);
return (1);
}
+#endif
if (vers->tag && isdigit (*vers->tag) &&
numdots (vers->tag) > 1)
{
@@ -1442,6 +1443,7 @@ checkaddfile (file, repository, tag, srcfiles)
int newfile = 0;
#endif
+#ifndef DEATH_SUPPORT
if (tag)
{
(void) sprintf(rcs, "%s/%s", repository, CVSATTIC);
@@ -1452,6 +1454,7 @@ checkaddfile (file, repository, tag, srcfiles)
(void) sprintf (rcs, "%s/%s/%s%s", repository, CVSATTIC, file, RCSEXT);
}
else
+#endif
locate_rcs (file, repository, rcs);
#ifdef DEATH_SUPPORT