diff options
author | lulf <lulf@FreeBSD.org> | 2008-12-02 20:50:37 +0000 |
---|---|---|
committer | lulf <lulf@FreeBSD.org> | 2008-12-02 20:50:37 +0000 |
commit | e7eb22f786e0597936573acfd4f992825c846f5a (patch) | |
tree | 07ea6856be108c5717cfc92000ff71e6a546e5c0 /contrib/csup | |
parent | 93999cbca678125cbb2cc133b07bc26b3bc7f229 (diff) | |
download | FreeBSD-src-e7eb22f786e0597936573acfd4f992825c846f5a.zip FreeBSD-src-e7eb22f786e0597936573acfd4f992825c846f5a.tar.gz |
- Print out information about what file that is edited before it is edited
instead of after.
Diffstat (limited to 'contrib/csup')
-rw-r--r-- | contrib/csup/updater.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/csup/updater.c b/contrib/csup/updater.c index ea73548..199b739 100644 --- a/contrib/csup/updater.c +++ b/contrib/csup/updater.c @@ -1569,6 +1569,10 @@ updater_rcsedit(struct updater *up, struct file_update *fup, char *name, /* 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, struct file_update *fup, char *name, 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, |