svn commit: r185570 - projects/csup_cvsmode/contrib/csup
Ulf Lilleengen
lulf at FreeBSD.org
Tue Dec 2 12:50:37 PST 2008
Author: lulf
Date: Tue Dec 2 20:50:37 2008
New Revision: 185570
URL: http://svn.freebsd.org/changeset/base/185570
Log:
- Print out information about what file that is edited before it is edited
instead of after.
Modified:
projects/csup_cvsmode/contrib/csup/updater.c
Modified: projects/csup_cvsmode/contrib/csup/updater.c
==============================================================================
--- projects/csup_cvsmode/contrib/csup/updater.c Tue Dec 2 20:48:45 2008 (r185569)
+++ projects/csup_cvsmode/contrib/csup/updater.c Tue Dec 2 20:50:37 2008 (r185570)
@@ -1569,6 +1569,10 @@ updater_rcsedit(struct updater *up, stru
/* Macro for making touching an RCS file faster. */
#define UPDATER_OPENRCS(rf, up, path, name, cvsroot, tag) do { \
if ((rf) == NULL) { \
+ lprintf(1, " Edit %s", fup->coname); \
+ if (fup->attic) \
+ lprintf(1, " -> Attic"); \
+ lprintf(1, "\n"); \
(rf) = rcsfile_frompath((path), (name), (cvsroot), \
(tag)); \
if ((rf) == NULL) { \
@@ -1660,10 +1664,6 @@ updater_rcsedit(struct updater *up, stru
fattr_free(oldfattr);
goto finish;
}
- lprintf(1, " Edit %s", fup->coname);
- if (fup->attic)
- lprintf(1, " -> Attic");
- lprintf(1, "\n");
/* Write and rename temp file. */
dest = stream_open_file(fup->temppath,
More information about the svn-src-projects
mailing list