1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-27 02:16:12 +01:00

do not add _linkerror's to the project's working copy

This commit is contained in:
Dirk Mueller 2008-06-25 17:37:05 +00:00
parent 927019a7eb
commit f16fb793e3

View File

@ -29,7 +29,7 @@ except ImportError:
BUFSIZE = 1024*1024
store = '.osc'
exclude_stuff = [store, 'CVS', '*~', '.*']
exclude_stuff = [store, 'CVS', '*~', '.*', '_linkerror']
new_project_templ = """\
@ -3251,8 +3251,8 @@ def addFiles(filenames):
os.chdir(old_dir)
elif is_package_dir(filename) and conf.config['do_package_tracking']:
print 'osc: warning: \'%s\' is already under version control' % filename
sys.exit(1)
print >>sys.stderr, 'osc: warning: \'%s\' is already under version control' % filename
return 1
pacs = findpacs(filenames)
@ -3269,6 +3269,7 @@ def addFiles(filenames):
print 'osc: warning: \'%s\' is already under version control' % pac.name
for filename in pac.todo:
if filename in pac.excluded:
print >>sys.stderr, 'osc: warning: \'%s\' is excluded from a working copy' % filename
continue
if filename in pac.filenamelist:
print >>sys.stderr, 'osc: warning: \'%s\' is already under version control' % filename