/*
* aegis - project change supervisor
* Copyright (C) 2003, 2005-2008 Peter Miller
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see
*
| Type | Action | Edit | " ## "File Name |
|---|---|---|---|
| "); print(src.usage); print(" | "); print(src.action); print(" | ");
if (src.edit_origin.revision != "" && src.edit.revision != "")
{
if (src.edit_origin.revision == src.edit.revision)
print(src.edit.revision);
else
print(src.edit_origin.revision ## " -> " ## src.edit.revision);
}
else if (src.edit_origin.revision != "")
print(src.edit_origin.revision);
else if (src.edit.revision != "")
print(src.edit.revision);
if (change_number_set())
{
if (src.edit_origin_new.revision != "")
print(" {cross " ## src.edit_origin_new.revision ## "}"); } print(" | ");
href = script_name ## "?file@file_menu+" ## quote_url(src.file_name);
href ##= "+project@" ## quote_url(pn);
if (change_number_set())
{
href = href ## "+change@" ## cn;
}
print("");
print("" ## quote_html(src.file_name)
## "");
print("");
if (src.deleted_by)
{
href = script_name ## "?file@chan_menu";
href ##= "+project@" ## quote_url(pn);
href ##= "+change@" ## src.deleted_by;
print(" Deleted by change"); print("" ## src.deleted_by ## "."); } if (src.about_to_be_created_by) { href = script_name ## "?file@chan_menu"; href ##= "+project@" ## quote_url(pn); href ##= "+change@" ## src.about_to_be_created_by; print(" About to be created by change"); print("" ## src.about_to_be_created_by ## "."); } if (src.locked_by) { href = script_name ## "?file@chan_menu"; href ##= "+project@" ## quote_url(pn); href ##= "+change@" ## src.locked_by; print(" Locked by change"); print("" ## src.locked_by ## "."); } if (src.about_to_be_copied_by) { href = script_name ## "?file@chan_menu"; href ##= "+project@" ## quote_url(pn); href ##= "+change@" ## src.about_to_be_copied_by; print(" About to be copied by change"); print("" ## src.about_to_be_copied_by ## "."); } if (src.move != "") { href = script_name ## "?file@file_menu+" ## quote_url(src.move); href ##= "+project@" ## quote_url(pn); print(" Moved " ## (src.action == create ? "from" : "to")); print(""); print("" ## quote_html(src.move) ## ""); } print(" |
| "); if (change_number_set()) { print("Listed " ## count(keys(cs.src)) ## " files."); } else { print("Listed " ## count(keys(ps)) ## " files."); } print(" | |||
ael cf -p " ## quote_html(pn) ## " -c " ## cn);
print("aer cf -p " ## quote_html(pn) ## " -c " ## cn ##
"");
}
else
{
print("ael pf -p " ## quote_html(pn));
print("aer proj_files -p " ## quote_html(pn) ## "");
}
print("