summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cvs/src/import.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/cvs/src/import.c')
-rw-r--r--gnu/usr.bin/cvs/src/import.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/gnu/usr.bin/cvs/src/import.c b/gnu/usr.bin/cvs/src/import.c
index 84a80cac36f..5699e2a2260 100644
--- a/gnu/usr.bin/cvs/src/import.c
+++ b/gnu/usr.bin/cvs/src/import.c
@@ -1198,6 +1198,11 @@ add_rcs_file (message, rcs, user, add_vhead, key_opt,
if (fprintf (fprcs, "next ;\012") < 0)
goto write_error;
+#ifdef notyet
+ if (fprintf (fprcs, "commitid %s;\012", global_session_id) < 0)
+ goto write_error;
+#endif
+
#ifdef PRESERVE_PERMISSIONS_SUPPORT
/* Store initial permissions if necessary. */
if (preserve_perms)
@@ -1253,7 +1258,12 @@ userfile);
fprintf (fprcs, "date %s; author %s; state Exp;\012",
altdate1, author) < 0 ||
fprintf (fprcs, "branches ;\012") < 0 ||
- fprintf (fprcs, "next ;\012") < 0)
+ fprintf (fprcs, "next ;\012") < 0
+#ifdef notyet
+ ||
+ fprintf (fprcs, "commitid %s;\012", global_session_id) < 0
+#endif
+ )
goto write_error;
#ifdef PRESERVE_PERMISSIONS_SUPPORT