summaryrefslogtreecommitdiffstats
path: root/contrib/cvs/src/rcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/cvs/src/rcs.c')
-rw-r--r--contrib/cvs/src/rcs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/cvs/src/rcs.c b/contrib/cvs/src/rcs.c
index e87a3ae..dfdc71d 100644
--- a/contrib/cvs/src/rcs.c
+++ b/contrib/cvs/src/rcs.c
@@ -1857,9 +1857,9 @@ RCS_getdatebranch (rcs, date, branch)
free (xbranch);
if (p == vers->branches->list)
{
- /* FIXME: This case would seem to imply that the RCS file is
- somehow invalid. Should we give an error message? */
- return (NULL);
+ /* This happens when you have a couple of branches off a revision,
+ and your branch has not diverged, but another has. */
+ return (xstrdup (cur_rev));
}
p = findnode (rcs->versions, p->key);
OpenPOWER on IntegriCloud