Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 21970 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]
dispatch-conf-fixes.patch
dispatch-conf-fixes.patch (text/plain), 2.03 KB, created by
TGL
on 2003-12-10 06:43:46 UTC
(
hide
)
Description:
dispatch-conf-fixes.patch
Filename:
MIME Type:
Creator:
TGL
Created:
2003-12-10 06:43:46 UTC
Size:
2.03 KB
patch
obsolete
>--- bin.orig/archive-conf 2003-04-09 11:00:02.000000000 -0700 >+++ bin/archive-conf 2003-09-07 17:02:09.000000000 -0700 >@@ -89,10 +89,12 @@ > 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): >+ if md5_match_hash[conf] != '': >+ 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): >+ if md5_match_hash[conf] != '': >+ dispatch_conf.file_archive_post_process(archive) > > # run > if len(sys.argv) > 1: >--- bin.orig/dispatch-conf 2003-02-25 10:22:44.000000000 -0800 >+++ 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