Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Call the new {read,write}_varlong30() names for the long-int
[rsync/rsync.git]
/
support
/
cvs2includes
diff --git
a/support/cvs2includes
b/support/cvs2includes
index
29f14dc
..
33981de
100755
(executable)
--- a/
support/cvs2includes
+++ b/
support/cvs2includes
@@
-6,13
+6,12
@@
#
# -f ': .cvsinclude'
#
#
# -f ': .cvsinclude'
#
+# That ensures that all checked-in files/dirs are included in the transfer.
# (You could alternately put ": .cvsinclude" into an .rsync-filter file and
# use the -F option, which is easier to type.)
#
# (You could alternately put ": .cvsinclude" into an .rsync-filter file and
# use the -F option, which is easier to type.)
#
-# That ensures that all checked-in files/dirs are included in the transfer.
-#
# The downside is that you need to remember to re-run cvs2includes whenever
# The downside is that you need to remember to re-run cvs2includes whenever
-#
Y
ou add a new file to the project.
+#
y
ou add a new file to the project.
use strict;
open(FIND, 'find . -name CVS -type d |') or die $!;
use strict;
open(FIND, 'find . -name CVS -type d |') or die $!;
@@
-32,7
+31,7
@@
while (<FIND>) {
close ENTRIES;
if (@includes) {
open(FILTER, ">$filter") or die "Unable to write $filter: $!\n";
close ENTRIES;
if (@includes) {
open(FILTER, ">$filter") or die "Unable to write $filter: $!\n";
- print FILTER
'+ /', join("\n+ /", @includes), "\n"
;
+ print FILTER
map "+ /$_\n", @includes
;
close FILTER;
print "Updated $filter\n";
} elsif (-f $filter) {
close FILTER;
print "Updated $filter\n";
} elsif (-f $filter) {