Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 17243 Details for
Bug 14079
Python replacement for etc-update
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix a few bugs
dispatch-conf.fixes (text/plain), 1.95 KB, created by
Wayne Davison
on 2003-09-07 18:22:12 UTC
(
hide
)
Description:
Fix a few bugs
Filename:
MIME Type:
Creator:
Wayne Davison
Created:
2003-09-07 18:22:12 UTC
Size:
1.95 KB
patch
obsolete
>--- ./archive-conf 2003-04-09 11:00:02.000000000 -0700 >+++ /usr/lib/portage/bin/archive-conf 2003-09-07 17:02:09.000000000 -0700 >@@ -87,10 +87,10 @@ > archive = os.path.join(options['archive-dir'], conf.lstrip('/')) > if options['use-rcs'] == 'yes': > dispatch_conf.rcs_archive(archive, conf, md5_match_hash[conf], '') >- dispatch_conf.rcs_archive_post_process(archive): >+ dispatch_conf.rcs_archive_post_process(archive) > else: > dispatch_conf.file_archive(archive, conf, md5_match_hash[conf], '') >- dispatch_conf.file_archive_post_process(archive): >+ dispatch_conf.file_archive_post_process(archive) > > # run > if len(sys.argv) > 1: >--- ./dispatch-conf 2003-02-25 10:22:44.000000000 -0800 >+++ /usr/lib/portage/bin/dispatch-conf 2003-09-07 17:58:05.000000000 -0700 >@@ -23,7 +23,7 @@ > DIFF_WSCOMMENTS = 'diff -Nau %s %s | grep "^[+-][^+-]" | grep -v "^[-+]#" | grep -v "^[-+][:space:]*$"' > MERGE = 'sdiff --suppress-common-lines --output=%s %s %s' > >-LOG_CHANGES_TO = '/tmp/dispatch-conf.changes' >+LOG_CHANGES_TO = '/var/log/dispatch-conf.changes' > > MANDATORY_OPTS = [ 'archive-dir', 'diff', 'pager', 'replace-cvs', 'replace-wscomments' ] > >@@ -145,7 +145,7 @@ > elif c == 'n': > break > elif c == 'm': >- merged = '/tmp/dispatch-conf.merged.%i' % (os.getpid (),) >+ merged = re.sub(r'\._mrg', '._tmp', mrgconf) > print > os.system (MERGE % (merged, conf ['current'], newconf)) > os.rename (merged, mrgconf) >@@ -161,6 +161,7 @@ > os.system(os.environ['EDITOR'] + ' ' + newconf) > continue > elif c == 'z': >+ self.post_process(conf['current']) > os.unlink(conf['new']) > if os.path.exists(mrgconf): > os.unlink(mrgconf)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 14079
:
7390
|
7391
|
8103
|
8364
|
8575
|
8589
|
8593
|
8602
|
8624
|
8625
|
8633
|
15984
|
16059
| 17243 |
17602
|
17603
|
21970