diff options
author | mycroft <mycroft> | 1999-05-25 17:52:25 +0000 |
---|---|---|
committer | mycroft <mycroft> | 1999-05-25 17:52:25 +0000 |
commit | b89eba79874d1dbe8d315ea78cb8103e14bb8bc4 (patch) | |
tree | 500ad8520778c32c165bacf7e5cb398550845386 /devel | |
parent | 3f7a45bfb0953bd916e1367a9d3ac1dcd1b74a5e (diff) | |
download | pkgsrc-b89eba79874d1dbe8d315ea78cb8103e14bb8bc4.tar.gz |
Fix an inconsistency between adding and removing files, with the revision
numbers passed to loginfo. If a file is re-added, make sure the `old' revision
is `NONE', not the preceding dead revision.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/cvs/patches/patch-au | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/cvs/patches/patch-au b/devel/cvs/patches/patch-au new file mode 100644 index 00000000000..50e84ba50c6 --- /dev/null +++ b/devel/cvs/patches/patch-au @@ -0,0 +1,15 @@ +$NetBSD: patch-au,v 1.1 1999/05/25 17:52:25 mycroft Exp $ + +--- src/commit.c.orig Thu Aug 6 20:04:11 1998 ++++ src/commit.c Tue May 25 10:25:05 1999 +@@ -984,7 +984,9 @@ + xmalloc (sizeof (struct logfile_info))); + li->type = status; + li->tag = xstrdup (vers->tag); +- li->rev_old = xstrdup (vers->vn_rcs); ++ /* If the file was re-added, we want the revision in the commitlog ++ to be NONE, not the previous dead revision. */ ++ li->rev_old = status == T_ADDED ? NULL : xstrdup (vers->vn_rcs); + li->rev_new = NULL; + p->data = (char *) li; + (void) addnode (ulist, p); |