Skip to content

Commit bc4348c

Browse files
committed
Don't try to replicate reserved database names, i.e. _users.
1 parent 633bccc commit bc4348c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

couchdb/tools/replicate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def main():
8585
elif '*' in spath and tpath:
8686
raise parser.error('target path must be empty with multiple sources')
8787

88-
all = sorted(i for i in source)
88+
all = sorted(i for i in source if i[0] != '_') # Skip reserved names.
8989
if not spath:
9090
raise parser.error('source database must be specified')
9191
elif spath in all:

0 commit comments

Comments
 (0)