r72286 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r72285‎ | r72286 | r72287 >
Date:14:24, 3 September 2010
Author:demon
Status:ok
Tags:
Comment:
Followup r72108, put the history file in $IP/maintenance rather than the cwd. Also add it to svnignore.
Modified paths:
  • /trunk/phase3/maintenance (modified) (history)
  • /trunk/phase3/maintenance/eval.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/eval.php
@@ -49,7 +49,7 @@
5050
5151 if ( $useReadline ) {
5252 $historyFile = isset( $_ENV['HOME'] ) ?
53 - "{$_ENV['HOME']}/.mweval_history" : '.mweval_history';
 53+ "{$_ENV['HOME']}/.mweval_history" : "$IP/maintenance/.mweval_history";
5454 readline_read_history( $historyFile );
5555 }
5656
Property changes on: trunk/phase3/maintenance
___________________________________________________________________
Modified: svn:ignore
5757 - searchUpdate.pos
searchUpdate.*.pos
results
5858 + searchUpdate.pos
searchUpdate.*.pos
results
.mweval_history

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r72108$_ENV['HOME'] might not exist for everyone, doesn't on OSXdemon14:30, 1 September 2010

Status & tagging log