cvs-cvs
[Top][All Lists]
Advanced

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

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


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

Index: ccvs/src/commit.c
diff -u ccvs/src/commit.c:1.187.4.31 ccvs/src/commit.c:1.187.4.32
--- ccvs/src/commit.c:1.187.4.31        Fri Sep  2 19:37:33 2005
+++ ccvs/src/commit.c   Fri Sep  2 19:41:05 2005
@@ -2078,7 +2078,8 @@
        /* and lock it */
        if (lock_RCS (file, rcs, rev, repository))
        {
-           error (0, 0, "cannot lock `%s'.", rcs->path);
+           error (0, 0, "cannot lock revision %s in `%s'.",
+                  rev ? rev : tag ? tag : "HEAD", rcs->path);
            if (rev != NULL)
                free (rev);
            goto out;
@@ -2144,7 +2145,8 @@
            /* and lock it once again. */
            if (lock_RCS (file, rcs, NULL, repository))
            {
-               error (0, 0, "cannot lock `%s'.", rcs->path);
+               error (0, 0, "cannot lock initial revision in `%s'.",
+                      rcs->path);
                goto out;
            }
        }
@@ -2257,7 +2259,7 @@
            /* lock the branch. (stubbed branches need not be locked.)  */
            if (lock_RCS (file, rcs, NULL, repository))
            {
-               error (0, 0, "cannot lock `%s'.", rcs->path);
+               error (0, 0, "cannot lock head revision in `%s'.", rcs->path);
                goto out;
            }
        }




reply via email to

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