Skip to content
This repository has been archived by the owner on May 29, 2018. It is now read-only.

Commit

Permalink
Bug 627108 - Reset the automation repository to get script updates. r…
Browse files Browse the repository at this point in the history
…=aaronmt
  • Loading branch information
whimboo committed Jan 20, 2011
1 parent 328f963 commit 785ac20
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions extension/chrome/content/mozmill-crowd.js
Expand Up @@ -132,11 +132,14 @@ var gMozmillCrowd = {
var path = this._storage.dir.clone();
path.append("mozmill-automation");

if (!path.exists()) {
var repository = Utils.getPref("extensions.mozmill-crowd.repositories.mozmill-automation", "");
this._storage.environment.run(["hg", "clone", repository, path.path]);
}
},
// Until we have a reliable way to pull from the repository we will clone
// it again for now.
if (path.exists())
path.remove(true);

var repository = Utils.getPref("extensions.mozmill-crowd.repositories.mozmill-automation", "");
this._storage.environment.run(["hg", "clone", repository, path.path]);
},

/**
* XXX: Stop a test-run before closing the dialog
Expand Down

0 comments on commit 785ac20

Please sign in to comment.