projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23d9d88
)
MTrack/SCM/Git/WorkingCopy.php
author
Alan Knowles
<alan@akbkhome.com>
Tue, 6 Sep 2011 08:28:39 +0000
(16:28 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 6 Sep 2011 08:28:39 +0000
(16:28 +0800)
MTrack/SCM/Git/WorkingCopy.php
patch
|
blob
|
history
diff --git
a/MTrack/SCM/Git/WorkingCopy.php
b/MTrack/SCM/Git/WorkingCopy.php
index
20248ab
..
5d250cd
100644
(file)
--- a/
MTrack/SCM/Git/WorkingCopy.php
+++ b/
MTrack/SCM/Git/WorkingCopy.php
@@
-8,7
+8,11
@@
class MTrack_SCM_Git_WorkingCopy extends MTrackSCMWorkingCopy
public $push = true;
function __construct(MTrack_Repo $repo) {
- $this->dir = mtrack_make_temp_dir();
+ $cfg = HTML_FlexyFramework::get()->MTrack;
+ if (empty($cfg['workingdir'])) {
+ throw new Exception("MTrack[workingdir] is not set")
+ }
+ $this->dir = $cfg['workingdir'];
$this->repo = $repo;
MTrackSCM::run('git', 'string',