If there is a .hgignore_local file, also add that to the end of the
.hgignore file. This is helpful for svn+hg combo trees. This commit was SVN r22660.
Этот коммит содержится в:
родитель
111a424dac
Коммит
6c2c68907c
@ -65,6 +65,17 @@ print "Thinking...\n"
|
|||||||
# Start at the top level
|
# Start at the top level
|
||||||
process(".");
|
process(".");
|
||||||
|
|
||||||
|
# See if there's an .hgignore_local file. If so, add its contents to the end.
|
||||||
|
if (-f ".hgignore_local") {
|
||||||
|
open(IN, ".hgignore_local") || die "Can't open .hgignore_local";
|
||||||
|
while (<IN>) {
|
||||||
|
chomp;
|
||||||
|
push(@globals, $_);
|
||||||
|
}
|
||||||
|
|
||||||
|
close(IN);
|
||||||
|
}
|
||||||
|
|
||||||
# If there's an old .hgignore, delete it
|
# If there's an old .hgignore, delete it
|
||||||
unlink(".hgignore")
|
unlink(".hgignore")
|
||||||
if (-f ".hgignore");
|
if (-f ".hgignore");
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user