Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Updated to create new repositories as SHA1 for compatibility with older Fossil versions |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
1ab71c2b65c7b43e6deef51789c90b79 |
| User & Date: | rkeene 2017-03-16 15:41:27.011 |
Context
|
2017-03-16
| ||
| 16:04 | Updated to support creating SHA3 repositories (disabled by default) at the nano layer check-in: 1f8460d3c5 user: rkeene tags: trunk | |
| 15:41 | Updated to create new repositories as SHA1 for compatibility with older Fossil versions check-in: 1ab71c2b65 user: rkeene tags: trunk | |
|
2016-11-22
| ||
| 19:29 | Updated to log queries that fail and why they fail check-in: e1a97c62e1 user: rkeene tags: trunk | |
Changes
Changes to nano/fossil.php.
| ︙ | ︙ | |||
46 47 48 49 50 51 52 |
$content = "#!/usr/local/bin/fossil\ndirectory: ./\nnotfound: http://{$_SERVER['SERVER_NAME']}/notfound";
file_put_contents("{$this->path}repository", $content);
chmod("{$this->path}repository", 0555);
}
if (!file_exists("{$this->path}{$repo}.fossil")) {
| | | 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
$content = "#!/usr/local/bin/fossil\ndirectory: ./\nnotfound: http://{$_SERVER['SERVER_NAME']}/notfound";
file_put_contents("{$this->path}repository", $content);
chmod("{$this->path}repository", 0555);
}
if (!file_exists("{$this->path}{$repo}.fossil")) {
exec($this->getFossilCommand() . " new --sha1 -A " . escapeshellarg($this->user['username']) . " " . escapeshellarg("{$this->path}{$repo}.fossil"), $output, $return);
if ($return !== 0) {
if (file_exists("{$this->path}{$repo}.fossil")) {
unlink("{$this->path}{$repo}.fossil");
}
return false;
|
| ︙ | ︙ |