version 1.124, 2019/01/09 18:00:45 |
version 1.125, 2019/04/26 19:11:01 |
|
|
!(flags & CO_REVERT)) |
!(flags & CO_REVERT)) |
(void)fprintf(stderr, " (unlocked)\n"); |
(void)fprintf(stderr, " (unlocked)\n"); |
} |
} |
|
} else { |
|
if (file->rf_ndelta != 0) { |
|
if (!(flags & QUIET) && !(flags & NEWFILE) && |
|
!(flags & CO_REVERT)) |
|
(void)fprintf(stderr, "\n"); |
|
} |
} |
} |
|
|
if ((flags & (PIPEOUT|FORCE)) == 0 && stat(dst, &st) != -1) { |
if ((flags & (PIPEOUT|FORCE)) == 0 && stat(dst, &st) != -1) { |
|
|
((flags & CO_LOCK) || (flags & CO_UNLOCK))) { |
((flags & CO_LOCK) || (flags & CO_UNLOCK))) { |
(void)fprintf(stderr, "no revisions, so nothing can be %s\n", |
(void)fprintf(stderr, "no revisions, so nothing can be %s\n", |
(flags & CO_LOCK) ? "locked" : "unlocked"); |
(flags & CO_LOCK) ? "locked" : "unlocked"); |
} else if (file->rf_ndelta != 0) { |
|
/* XXX - Not a good way to detect if a newline is needed. */ |
|
if (!(flags & QUIET) && !(flags & NEWFILE) && |
|
!(flags & CO_REVERT)) |
|
(void)fprintf(stderr, "\n"); |
|
} |
} |
|
|
if (flags & CO_LOCK) { |
if (flags & CO_LOCK) { |