/usr/share/doc/codeville/ClientReference.html is in codeville 0.8.0-2.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<meta name="robots" content="index,nofollow">
<title>ClientReference - Codeville Wiki</title>
<script type="text/javascript">
<!--// common functions
// We keep here the state of the search box
searchIsDisabled = false;
function searchChange(e) {
// Update search buttons status according to search box content.
// Ignore empty or whitespace search term.
var value = e.value.replace(/\s+/, '');
if (value == '' || searchIsDisabled) {
searchSetDisabled(true);
} else {
searchSetDisabled(false);
}
}
function searchSetDisabled(flag) {
// Enable or disable search
document.getElementById('fullsearch').disabled = flag;
document.getElementById('titlesearch').disabled = flag;
}
function searchFocus(e) {
// Update search input content on focus
if (e.value == 'Search') {
e.value = '';
e.className = '';
searchIsDisabled = false;
}
}
function searchBlur(e) {
// Update search input content on blur
if (e.value == '') {
e.value = 'Search';
e.className = 'disabled';
searchIsDisabled = true;
}
}
function actionsMenuInit(title) {
// Initiliaze action menu
for (i = 0; i < document.forms.length; i++) {
var form = document.forms[i];
if (form.className == 'actionsmenu') {
// Check if this form needs update
var div = form.getElementsByTagName('div')[0];
var label = div.getElementsByTagName('label')[0];
if (label) {
// This is the first time: remove label and do buton.
div.removeChild(label);
var dobutton = div.getElementsByTagName('input')[0];
div.removeChild(dobutton);
// and add menu title
var select = div.getElementsByTagName('select')[0];
var item = document.createElement('option');
item.appendChild(document.createTextNode(title));
item.value = 'show';
select.insertBefore(item, select.options[0]);
select.selectedIndex = 0;
}
}
}
}
//-->
</script>
<link rel="stylesheet" type="text/css" charset="utf-8" media="all" href="/wiki/modern/css/common.css">
<link rel="stylesheet" type="text/css" charset="utf-8" media="screen" href="/wiki/modern/css/screen.css">
<link rel="stylesheet" type="text/css" charset="utf-8" media="print" href="/wiki/modern/css/print.css">
<link rel="stylesheet" type="text/css" charset="utf-8" media="projection" href="/wiki/modern/css/projection.css">
<link rel="alternate" title="Codeville Wiki Recent Changes" href="/doc/RecentChanges?action=rss_rc&ddiffs=1&unique=1" type="application/rss+xml">
<link rel="Start" href="/doc/FrontPage">
<link rel="Alternate" title="Wiki Markup" href="/doc/ClientReference?action=raw">
<link rel="Alternate" media="print" title="Print View" href="/doc/ClientReference?action=print">
<link rel="Search" href="/doc/FindPage">
<link rel="Index" href="/doc/TitleIndex">
<link rel="Glossary" href="/doc/WordIndex">
<link rel="Help" href="/doc/HelpOnFormatting">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="/doc/FrontPage">Codeville Wiki</a></div>
<form id="searchform" method="get" action="">
<div>
<input type="hidden" name="action" value="fullsearch">
<input type="hidden" name="context" value="180">
<label for="searchinput">Search:</label>
<input id="searchinput" type="text" name="value" value="" size="20"
onfocus="searchFocus(this)" onblur="searchBlur(this)"
onkeyup="searchChange(this)" onchange="searchChange(this)" alt="Search">
<input id="titlesearch" name="titlesearch" type="submit"
value="Titles" alt="Search Titles">
<input id="fullsearch" name="fullsearch" type="submit"
value="Text" alt="Search Full Text">
</div>
</form>
<script type="text/javascript">
<!--// Initialize search form
var f = document.getElementById('searchform');
f.getElementsByTagName('label')[0].style.display = 'none';
var e = document.getElementById('searchinput');
searchChange(e);
searchBlur(e);
//-->
</script>
<ul id="username">
<li><a href="/doc/UserPreferences">Login</a></li>
</ul>
<ul id="navibar">
<li class="wikilink"><a href="/doc/FrontPage">FrontPage</a></li>
<li class="wikilink"><a href="/doc/RecentChanges">RecentChanges</a></li>
<li class="wikilink"><a href="/doc/FindPage">FindPage</a></li>
<li class="wikilink"><a href="/doc/HelpContents">HelpContents</a></li>
<li class="current"><a href="/doc/ClientReference">ClientReference</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
<ul class="editbar">
<li>Immutable Page</li>
<li><a href="/doc/ClientReference?action=diff">Show Changes</a></li>
<li><a href="/doc/ClientReference?action=info">Get Info</a></li>
<li>
<form class="actionsmenu" method="get" action="">
<div>
<label>More Actions:</label>
<select name="action"
onchange="if ((this.selectedIndex != 0) &&
(this.options[this.selectedIndex].disabled == false)) {
this.form.submit();
}
this.selectedIndex = 0;">
<option value="raw">Show Raw Text</option>
<option value="print">Show Print View</option>
<option value="refresh">Delete Cache</option>
<option value="show" disabled class="disabled">--------</option>
<option value="AttachFile" disabled class="disabled">Attachments</option>
<option value="SpellCheck">Check Spelling</option>
<option value="LikePages">Show Like Pages</option>
<option value="LocalSiteMap">Show Local Site Map</option>
<option value="show" disabled class="disabled">--------</option>
<option value="RenamePage" disabled class="disabled">Rename Page</option>
<option value="DeletePage" disabled class="disabled">Delete Page</option>
</select>
<input type="submit" value="Do">
</div>
<script type="text/javascript">
<!--// Init menu
actionsMenuInit('More Actions:');
//-->
</script>
</form>
</li>
</ul>
</div>
<div id="page" lang="en" dir="ltr">
<h1 id="title"><a title="Click to do a full-text search for this title" href="/doc/ClientReference?action=fullsearch&value=linkto%3A%22ClientReference%22&context=180">ClientReference</a></h1>
<div lang="en" id="content" dir="ltr">
<a id="top"></a>
<h2 id="head-cca2e38d18ebae8e9dd7f41b05d77a02dd02c893">Codeville commands</h2>
<h3 id="head-e9b163227567e3be12440c4d6d09bd3e4c93dd9d">Options</h3>
<dl>
<dt> -p, --path</dt>
<dd><p> <tt><path></tt> to client </p>
</dd>
<dt> -R, --repository</dt>
<dd><p><tt><repository></tt> for this operation </p>
</dd>
<dt> -u, --user</dt>
<dd><p> <tt><user></tt> as whom to perform this operation </p>
</dd>
<dt> -V, --version</dt>
<dd><p> Print version information </p>
</dd>
</dl>
<h3 id="head-aaba21e7615ed77cd2275d8af6a5dd5bace66e4b">Subcommands</h3>
<pre>
add <files>
</pre>
<ul>
<li style="list-style-type:none"><p>Add new files to the repository. All files must be added before they will be part of the version control system. </p>
</li>
</ul>
<hr>
<p>
</p>
<pre>
commit [-b] [-m <comment>|-M <comment-file>] [-D <date>] [-n]
</pre>
<ul>
<li style="list-style-type:none"><p>Commits all changes made to the repository since the last commit. A comment is required for every commit. It may either be supplied via the <tt>-m</tt> option for simple comments or if the <tt>-m</tt> option is omitted, whatever editor is specified in the <tt>EDITOR</tt> environment variable will be launched. If no editor is specified, vi is the default in all unixy environments (including OS X and cygwin) and Notepad is the default in Windows. In the editor, a comment may be added at the top, and file changes which the user does not wish to have in a given changeset can be removed by deleting them from the <tt>"### files"</tt> list at the bottom (although merging cannot be avoided through deleting things from the <tt>"### merge files"</tt> list). Every commit creates a changeset. If there are changes since the last update, files will be merged. In the event of unresolved conflicts, the user will be prompted to resolve them. </p>
</li>
</ul>
<dl>
<dt> -b, --backup</dt>
<dd><p>Forces commit to not make a new changeset. This will commit changes which have already been committed locally via <tt>-n</tt> (or as a result of having multiple repositories involved), but will not create a new changeset for existing file modifications. This is especially needed for committing to back-up servers (servers started with <tt>-b</tt>) as it is the only way to commit changes to a back-up server. This is not the recommended way to commit changes to normal servers. In general, if one wishes to commit changes committed offline without committing new changes, one should commit and changeset with all the files in the <tt>"### files"</tt> list removed. </p>
</dd>
<dt> -D, --date</dt>
<dd><p><tt>YYYY/MM/DD HH:MM:SS TZ</tt> indicating changeset creation time </p>
</dd>
<dt> -m, --message</dt>
<dd><p>Use <tt>message</tt> as the commit message </p>
</dd>
<dt> -M, --message-file</dt>
<dd><p>Get commit message from <tt>file</tt> </p>
</dd>
<dt> -n, --no-network</dt>
<dd><p>is used to commit changes off-line. Changes committed off-line can still be used with all commands, but are not visible to other users until an on-line commit is done. </p>
</dd>
</dl>
<hr>
<p>
</p>
<pre>
construct <changeset>
</pre>
<ul>
<li style="list-style-type:none"><p>Recreates the repository at the given changeset. </p>
</li>
</ul>
<hr>
<p>
</p>
<pre>
create <repository name>
</pre>
<ul>
<li style="list-style-type:none"><p>Creates a new repository with the appropriate name. </p>
</li>
</ul>
<hr>
<p>
</p>
<pre>
describe [-x|-d] [-s] <changeset>
</pre>
<ul>
<li style="list-style-type:none"><p>Gives the description of the changeset including the long name of the change, the user who made the change, that date it was made, the comment, the relation it has to other changesets, and what files were modified and in what manner they were modified (i.e. added, modified, renamed, or deleted). </p>
</li>
</ul>
<dl>
<dt> -d, --diff</dt>
<dd><p>does a diff </p>
</dd>
<dt> -x, --xml</dt>
<dd><p>displays an XML version of the output. This is not compatible with displaying a diff. This can only be used with parenthesized changesets from the file history. It's sort of a hack right now, really. </p>
</dd>
</dl>
<hr>
<p>
</p>
<pre>
destroy <repository>
</pre>
<ul>
<li style="list-style-type:none"><p>Destroys a repository. The opposite of create. </p>
</li>
</ul>
<hr>
<p>
</p>
<pre>
diff [-r <changeset> [-r <changeset>] ] [<files>]
</pre>
<ul>
<li style="list-style-type:none"><p>Does a diff between different versions of each of given files. If no files are specified, all relevant files are shown. The first <tt>-r</tt> option indicates which changeset the diff should be from, the second which it should be to. If no changesets are specified, it shows the difference between the last known state of the repository and the current client state. </p>
</li>
</ul>
<hr>
<p>
</p>
<pre>
edit <files>
</pre>
<ul>
<li style="list-style-type:none"><p>Enables editting a file. When not in edit-mode, this is unnecessary. </p>
</li>
</ul>
<hr>
<p>
</p>
<pre>
heads
</pre>
<ul>
<li style="list-style-type:none"><p>Lists the root nodes in the graph of changesets. </p>
</li>
</ul>
<hr>
<p>
</p>
<pre>
history [-h <changeset>] [-c <count>] [-s <skip count>] [-v] [<files>]
</pre>
<ul>
<li style="list-style-type:none"><p>Gives the history of the repository or of the files specified. Specifically, it lists all relevant change sets by short name, user, date, and comment in most recent first order. </p>
</li>
</ul>
<dl>
<dt> -c, --count </dt>
<dd><p>print only the specified number of changes. </p>
</dd>
<dt> -h, --head</dt>
<dd><p>print the history starting at the given changeset. </p>
</dd>
<dt> -s, --skip</dt>
<dd><p>skips the first <tt>skip count</tt> changes. </p>
</dd>
<dt> -v, --verbose</dt>
<dd><p>causes it to print the changes verbosely which includes additional information about each changeset which affected the files. </p>
</dd>
</dl>
<hr>
<p>
</p>
<pre>
init
</pre>
<ul>
<li style="list-style-type:none"><p>Initialize a new client with the current directory as the root. Specify a directory other than current one by using the top level <tt>-p</tt> switch. </p>
</li>
</ul>
<hr>
<p>
</p>
<pre>
is_ancestor <changeset1> <changeset2>
</pre>
<ul>
<li style="list-style-type:none"><p>Tells whether or not <tt>changeset1</tt> is an ancestor of <tt>changeset2</tt>. Note that it is possible for neither changeset to be an ancestor of the other. </p>
</li>
</ul>
<hr>
<p>
</p>
<pre>
last-modified <file>
</pre>
<ul>
<li style="list-style-type:none"><p>Returns the last changeset which modified a given file. </p>
</li>
</ul>
<hr>
<p>
</p>
<pre>
list-repos
</pre>
<ul>
<li style="list-style-type:none"><p>Lists all the repositories on the same server as the repository you are in. </p>
</li>
</ul>
<hr>
<p>
</p>
<pre>
password
</pre>
<ul>
<li style="list-style-type:none"><p>Change your password. </p>
</li>
</ul>
<hr>
<p>
</p>
<pre>
print_dag [-h <changeset>] [-h <changeset>] [...] <file>
</pre>
<ul>
<li style="list-style-type:none"><p>Prints the directed acyclic graph which shows the changesets which have been applied to a file and their relationships. </p>
<p>Changesets specified with -h are treated as head nodes for the graph (i.e. later changesets are excluded). </p>
</li>
</ul>
<hr>
<p>
</p>
<pre>
print_history [<changeset>]
</pre>
<ul>
<li style="list-style-type:none"><p>Prints the directed acylcic graph of the the entire history. Starts at the given changeset, if provided. </p>
</li>
</ul>
<hr>
<p>
</p>
<pre>
rebuild
</pre>
<ul>
<li style="list-style-type:none"><p>Recreates all of the metadata from the static history. This should generally only be done when instructed to by software upgrade instructions. </p>
</li>
</ul>
<hr>
<p>
</p>
<pre>
remove <files>
</pre>
<ul>
<li style="list-style-type:none"><p>Deletes files from the repository. </p>
</li>
</ul>
<hr>
<p>
</p>
<pre>
rename <file> <newname>
</pre>
<ul>
<li style="list-style-type:none"><p>Moves or renames files. </p>
</li>
</ul>
<hr>
<p>
</p>
<pre>
revert [-a] <files>
</pre>
<ul>
<li style="list-style-type:none"><p>Reverts any local changes to the file. At this time only changes to the content of the file can be reverted. The ability to revert adds, deletes, and renames will be coming in the future. </p>
<p>There is a subtle difference in the definition of revert from what you might expect. It does not guarantee that it will restore the file to some previous state. For example, if you are in the middle of a merge and call revert on a file, it will be regenerated by running the merge. If the file were modified prior to running the merge update, the file contents will now be different from anytime in the past. </p>
<p>Revert should be thought of as throwing away uncommitted changes. </p>
</li>
</ul>
<dl>
<dt> -a, --unmodified</dt>
<dd><p>indicates files should only be reverted if they have not been modified. Basically unmarks them as open for edit. </p>
</dd>
</dl>
<hr>
<p>
</p>
<pre>
set <variable> <value>
</pre>
<ul>
<li style="list-style-type:none"><p>Sets a Codeville variable to a given value. </p>
</li>
</ul>
<hr>
<p>
</p>
<pre>
show-vars
</pre>
<ul>
<li style="list-style-type:none"><p>Show a list of all Codeville variables and what they are set to. </p>
</li>
</ul>
<hr>
<p>
</p>
<pre>
status [-v]
</pre>
<ul>
<li style="list-style-type:none"><p>Shows changes not yet committed to the repository in brief. </p>
</li>
</ul>
<dl>
<dt> -v, --verbose</dt>
<dd><p>A more verbose status which includes mention of files which are in the directory space, but not in the repository and files missing from the directory space. </p>
</dd>
</dl>
<hr>
<p>
</p>
<pre>
unset <variable>
</pre>
<ul>
<li style="list-style-type:none"><p>Removes a Codeville variable so that it no longer has any setting. </p>
</li>
</ul>
<hr>
<p>
</p>
<pre>
update [-d]
</pre>
<ul>
<li style="list-style-type:none"><p>Gets all changes made to the repository since the last time you did an update. Files will be merged as necessary. In the event of unresolved conflicts, the user will be asked to resolve them. </p>
</li>
</ul>
<dl>
<dt> -d, --dont-merge</dt>
<dd><p>Pull in changesets but do not merge them. Has no effect on the workspace state. This allows a user to browse and diff changesets without having to merge. </p>
</dd>
</dl>
<p>Specifying files: </p>
<h3 id="head-7759f350a775234c0de99841b6f5c931e0323d4c">General Notes</h3>
<p>Files can be specified using bash-style wildcards on any platform. In addition, <tt>'...'</tt> behaves like a find command, expanding all files and directories within subdirectories. </p>
<p>All printed graphs are output in a format intended to be run through the graphviz <tt>"dot"</tt> tool. </p>
<p>Using tcsh as the startup shell under cygwin appears to result in the Python password command hanging, so it is incompatible with Codeville and there's not a thing we can do about it. </p>
<a id="bottom"></a>
</div>
<p id="pageinfo" class="info" lang="en" dir="ltr">last edited 2007-09-03 23:31:00 by <span title="dsl092-187-235.sfo1.dsl.speakeasy.net">RossCohen</span></p>
<div id="pagebottom"></div>
</div>
<div id="footer">
<ul class="editbar">
<li>Immutable Page</li>
<li><a href="/doc/ClientReference?action=diff">Show Changes</a></li>
<li><a href="/doc/ClientReference?action=info">Get Info</a></li>
<li>
<form class="actionsmenu" method="get" action="">
<div>
<label>More Actions:</label>
<select name="action"
onchange="if ((this.selectedIndex != 0) &&
(this.options[this.selectedIndex].disabled == false)) {
this.form.submit();
}
this.selectedIndex = 0;">
<option value="raw">Show Raw Text</option>
<option value="print">Show Print View</option>
<option value="refresh">Delete Cache</option>
<option value="show" disabled class="disabled">--------</option>
<option value="AttachFile" disabled class="disabled">Attachments</option>
<option value="SpellCheck">Check Spelling</option>
<option value="LikePages">Show Like Pages</option>
<option value="LocalSiteMap">Show Local Site Map</option>
<option value="show" disabled class="disabled">--------</option>
<option value="RenamePage" disabled class="disabled">Rename Page</option>
<option value="DeletePage" disabled class="disabled">Delete Page</option>
</select>
<input type="submit" value="Do">
</div>
<script type="text/javascript">
<!--// Init menu
actionsMenuInit('More Actions:');
//-->
</script>
</form>
</li>
</ul>
<ul id="credits">
<li><a href="http://moinmoin.wikiwikiweb.de/">MoinMoin Powered</a></li>
<li><a href="http://www.python.org/">Python Powered</a></li>
<li><a href="http://validator.w3.org/check?uri=referer">Valid HTML 4.01</a></li>
</ul>
</div>
</body>
</html>
|