Gentoo Archives: gentoo-commits

From: Agostino Sarubbo <ago@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/ago:master commit in: script/
Date: Tue, 01 Jan 2013 14:17:44
Message-Id: 1357049821.8c309d46b620636b1f6798604bbe88776a438e12.ago@gentoo
1 commit: 8c309d46b620636b1f6798604bbe88776a438e12
2 Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 1 14:17:01 2013 +0000
4 Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 1 14:17:01 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/ago.git;a=commit;h=8c309d46
7
8 remove 'cvs up' part since it was recommented to run cvs up in gentoo-x86
9
10 ---
11 script/batch-pretend.py | 11 -----------
12 1 files changed, 0 insertions(+), 11 deletions(-)
13
14 diff --git a/script/batch-pretend.py b/script/batch-pretend.py
15 index cef8021..5e45453 100755
16 --- a/script/batch-pretend.py
17 +++ b/script/batch-pretend.py
18 @@ -130,17 +130,6 @@ if __name__ == "__main__":
19 cvs_path = os.path.join(options.repo, pn)
20 print_and_log('Working in %s...' % cvs_path, log_file)
21
22 - # Remove whole directory to prevent problems with conflicts.
23 - if os.path.exists(cvs_path):
24 - try:
25 - shutil.rmtree(cvs_path)
26 - except OSError:
27 - print '!!! rmtree %s failed' % cvs_path
28 - sys.exit(1)
29 -
30 - if run_command(["cvs", "up", pn], options.repo, log_file)[0] != 0:
31 - print '!!! cvs up failed'
32 - sys.exit(1)
33 if run_command(["ekeyword", options.arch, ebuild_name], cvs_path, log_file)[0] != 0:
34 print '!!! ekeyword failed'
35 sys.exit(1)