/[cvs]/ccvs/src/commit.c
ViewVC logotype

Diff of /ccvs/src/commit.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.187.4.31 by scjones, Fri Sep 2 19:37:33 2005 UTC revision 1.187.4.32 by scjones, Fri Sep 2 19:41:05 2005 UTC
# Line 2078  checkaddfile (file, repository, tag, opt Line 2078  checkaddfile (file, repository, tag, opt
2078          /* and lock it */          /* and lock it */
2079          if (lock_RCS (file, rcs, rev, repository))          if (lock_RCS (file, rcs, rev, repository))
2080          {          {
2081              error (0, 0, "cannot lock `%s'.", rcs->path);              error (0, 0, "cannot lock revision %s in `%s'.",
2082                       rev ? rev : tag ? tag : "HEAD", rcs->path);
2083              if (rev != NULL)              if (rev != NULL)
2084                  free (rev);                  free (rev);
2085              goto out;              goto out;
# Line 2144  checkaddfile (file, repository, tag, opt Line 2145  checkaddfile (file, repository, tag, opt
2145              /* and lock it once again. */              /* and lock it once again. */
2146              if (lock_RCS (file, rcs, NULL, repository))              if (lock_RCS (file, rcs, NULL, repository))
2147              {              {
2148                  error (0, 0, "cannot lock `%s'.", rcs->path);                  error (0, 0, "cannot lock initial revision in `%s'.",
2149                           rcs->path);
2150                  goto out;                  goto out;
2151              }              }
2152          }          }
# Line 2257  checkaddfile (file, repository, tag, opt Line 2259  checkaddfile (file, repository, tag, opt
2259              /* lock the branch. (stubbed branches need not be locked.)  */              /* lock the branch. (stubbed branches need not be locked.)  */
2260              if (lock_RCS (file, rcs, NULL, repository))              if (lock_RCS (file, rcs, NULL, repository))
2261              {              {
2262                  error (0, 0, "cannot lock `%s'.", rcs->path);                  error (0, 0, "cannot lock head revision in `%s'.", rcs->path);
2263                  goto out;                  goto out;
2264              }              }
2265          }          }

Legend:
Removed from v.1.187.4.31  
changed lines
  Added in v.1.187.4.32

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26