# # # patch "ChangeLog" # from [7abf47b0e389ea6386c4ec83d385232dc5b2a4cb] # to [a1a364ec8e7926e996c5abb646d6a7df6e61a2cb] # # patch "monotone.texi" # from [2269eee5f4f09d18f6903d523d01f211115bb5e7] # to [3643c20e93dcc79a173601cb33ea9a6e004a7471] # ============================================================ --- ChangeLog 7abf47b0e389ea6386c4ec83d385232dc5b2a4cb +++ ChangeLog a1a364ec8e7926e996c5abb646d6a7df6e61a2cb @@ -1,3 +1,8 @@ +2006-12-21 Ben Walton + * cmd_ws_commit.cc (CMD_NO_WORKSPACE(publish)): added this + command, which exports a revision/branch from the db. + * options_list.hh: added a --force to be used with publish. + * monotone.texi: added documentation for the new command. 2006-12-18 Richard Levitte * cmd_ws_commit.cc (CMD_NO_WORKSPACE(import)): Wrap the add, ============================================================ --- monotone.texi 2269eee5f4f09d18f6903d523d01f211115bb5e7 +++ monotone.texi 3643c20e93dcc79a173601cb33ea9a6e004a7471 @@ -4003,16 +4003,17 @@ @section Tree With an explicit @option{--revision} argument, the command outputs contents of @var{path} at that revision. address@hidden mtn publish [--force] address@hidden address@hidden @var{directory} address@hidden mtn publish [--force] address@hidden address@hidden @var{destination_directory} address@hidden mtn publish address@hidden @var{destination_directory} -These commands checkout a revision @var{id} from your database but -don't create a workspace. If directory @var{directory} already exists, -monotone will require the --force option to proceed. If @var{directory} -exists and is a file, monotone will _not_ proceed at all. Monotone will -not publish to the current working directory (.). In the case where address@hidden exists and is a directory and --force is supplied, the -original directory will be preserved as @address@hidden@var{pid -of mtn address@hidden +This command checks out a revision @var{id} from your database but +doesn't create a workspace. If directory @var{destination_directory} +already exists, monotone will require the @option{--force} option to proceed. +If @var{destination_directory} exists and is a file, monotone will _not_ +proceed at all. Monotone will not publish to the current working directory (.). +In the case where @var{destination_directory} exists and is a directory and address@hidden is supplied, the original directory will be preserved as address@hidden@address@hidden of mtn address@hidden @item mtn checkout address@hidden @var{directory} @itemx mtn co address@hidden @var{directory}