* viewcvs-install (install_tree): don't install files ending in '~', since
this is the suffix many unix editors use for backups (and there aren't any files with that suffix in viewcvs). git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@900 8cb11bc2-c004-0410-86c3-e597b4017df7remotes/tags/1.0.0-rc1
parent
c3aff09497
commit
d906319a8e
|
@ -239,7 +239,7 @@ def install_tree(src_path, dst_path, prompt_replace):
|
|||
for fname in files:
|
||||
# eliminate some items which appear in a development area
|
||||
if fname == 'CVS' or fname[-4:] == '.pyc' or fname[-5:] == '.orig' \
|
||||
or fname[-4:] == '.rej' or fname[0] == '.':
|
||||
or fname[-4:] == '.rej' or fname[0] == '.' or fname[-1] == '~':
|
||||
continue
|
||||
|
||||
src = os.path.join(src_path, fname)
|
||||
|
|
Loading…
Reference in New Issue