cvs-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Cvs-cvs] Changes to ccvs/src/logmsg.c [cvs1-11-x-branch]


From: Larry Jones
Subject: [Cvs-cvs] Changes to ccvs/src/logmsg.c [cvs1-11-x-branch]
Date: Fri, 02 Sep 2005 15:37:43 -0400

Index: ccvs/src/logmsg.c
diff -u ccvs/src/logmsg.c:1.62.4.8 ccvs/src/logmsg.c:1.62.4.9
--- ccvs/src/logmsg.c:1.62.4.8  Wed Mar 16 22:00:44 2005
+++ ccvs/src/logmsg.c   Fri Sep  2 19:37:34 2005
@@ -201,11 +201,7 @@
     struct stat pre_stbuf, post_stbuf;
     int retcode = 0;
 
-#ifdef CLIENT_SUPPORT
     assert (!current_parsed_root->isremote != !repository);
-#else
-    assert (repository);
-#endif
 
     if (noexec || reuse_log_message)
        return;
@@ -295,12 +291,7 @@
     if (editinfo_editor)
        free (editinfo_editor);
     editinfo_editor = (char *) NULL;
-#ifdef CLIENT_SUPPORT
-    if (current_parsed_root->isremote)
-       ; /* nothing, leave editinfo_editor NULL */
-    else
-#endif
-    if (repository != NULL)
+    if (!current_parsed_root->isremote && repository != NULL)
        (void) Parse_Info (CVSROOTADM_EDITINFO, repository, editinfo_proc, 0);
 
     /* run the editor */
@@ -427,11 +418,9 @@
 
     struct stat pre_stbuf, post_stbuf;
 
-#ifdef CLIENT_SUPPORT
     if (current_parsed_root->isremote)
        /* The verification will happen on the server.  */
        return;
-#endif
 
     /* FIXME? Do we really want to skip this on noexec?  What do we do
        for the other administrative files?  */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]