-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /usr/lib/python2.7/dist-packages/bzrlib/doc_generate/
File Upload :
Current File : //usr/lib/python2.7/dist-packages/bzrlib/doc_generate/autodoc_man.pyc

ó
PDcOc@@sådZddlmZdgZddlZddlZddlZddlZddlZddl	Zddl
mZeƒd„Zd„Z
d„Zd	„Zd
„Zd„Zd„Zd
„Zd„ZdZdZdZdS(s©man.py - create man page from built-in bzr help and static text

TODO:
  * use usage information instead of simple "bzr foo" in COMMAND OVERVIEW
  * add command aliases
i(tabsolute_importt	launchpadN(tload_pluginscC@sd|jS(sProvides name of manpages%s.1(tbzr_name(toptions((sC/usr/lib/python2.7/dist-packages/bzrlib/doc_generate/autodoc_man.pytget_filename(scC@sétjƒ}tj|ƒ}i|jd6tjd|ƒd6tjd|ƒd6tjd6}|jt|ƒ|jtt	|ƒƒ|jtt
|ƒƒƒ|jtt|ƒƒƒ|jdjt
ƒƒƒ|jtt|ƒƒdS(	sAssembles a man pagetbzrcmds%Y-%m-%dt	datestamps%Y-%m-%d %H:%M:%S +0000t	timestamptversiontN(ttimetgmtimeRtstrftimetbzrlibt__version__twritetman_preamblet
man_escapetman_headtgetcommand_listtgetcommand_helptjointenvironment_variablestman_foot(Rtoutfilettttttparams((sC/usr/lib/python2.7/dist-packages/bzrlib/doc_generate/autodoc_man.pytinfogen-s

cC@sL|jddƒ}|jddƒ}|jddƒ}|jddƒ}|S(	s*Escapes strings for man page compatibilitys\s\\t`s\'t's\*(Aqt-s\-(treplace(tstringtresult((sC/usr/lib/python2.7/dist-packages/bzrlib/doc_generate/autodoc_man.pyR?s
cC@swtjjƒ}xWtjjƒD]F}tjj|ƒ}tdksU|jƒtkr|j|ƒqqW|j	ƒ|S(s*Builds a list of command names from bzrlibN(
Rtcommandstbuiltin_command_namestplugin_command_namestget_cmd_objecttPLUGINS_TO_DOCUMENTtNonetplugin_nametappendtsort(t
command_namestcmdnamet
cmd_object((sC/usr/lib/python2.7/dist-packages/bzrlib/doc_generate/autodoc_man.pytcommand_name_listHs
c	C@s§|d}d}xtƒD]…}tjj|ƒ}|jrAqn|jƒ}|r’|jddƒd}|jƒ}d||f}||}qtd|‚qW|S(s7Builds summary help for command names in manpage formatRs.SH "COMMAND OVERVIEW"
s
iis.TP
.B "%s"
%s
sCommand '%s' has no help text(	R0RR$R'thiddenthelptsplitt_usagetRuntimeError(	RRtoutputtcmd_nameR/tcmd_helpt	firstlinetusagettmp((sC/usr/lib/python2.7/dist-packages/bzrlib/doc_generate/autodoc_man.pyRTs
	
cC@s§d}i}xotƒD]d}tjj|ƒ}|jr=qnt||ƒ||<x'|jD]}t|||ƒ||<qZWqWx"t|ƒD]}|||7}q‹W|S(s*Shows individual options for a bzr commands.SH "COMMAND REFERENCE"
(	R0RR$R'R1tformat_commandtaliasestformat_aliastsorted(RR6t	formattedR7R/talias((sC/usr/lib/python2.7/dist-packages/bzrlib/doc_generate/autodoc_man.pyRgs	c
C@sd|jƒ}d|j}tjj|jƒƒ}|jddƒ}d}|jƒ}|rVd}xît|j	ƒƒD]×\}}xÈ|j
ƒD]º\}}	}
}|j|ƒr¸q‘nd|}|
dk	rß|d|
7}n|	rö|d	|	7}n|d
t
|ƒd|pd7}tj|dddd
dd
tƒ}
||
d7}q‘WqxWnd}|jr´t
|jƒdkr‡|d7}n
|d7}|dj|jƒ7}|d7}nd}|jƒ}|rö|d7}|dj|ƒ7}|d7}n||||d|dS(s*Provides long help for each public commands	.SS "%s"
s%s
s
.t.R
s

Options:
s    --t s, -itinitial_indenttsubsequent_indenttbreak_long_wordss
is

Aliases: s
Alias: s, s
See also: N(R4t__doc__Rthelp_topicsthelp_as_plain_textR2R!RR?titemst
iter_switchest	is_hiddenR)tlenttextwraptfilltFalseR=Rtget_see_also(Rtcmdtsubsection_headertdoct
option_strRtoption_nametoptiontnamet
short_nametargnameR2tltwrappedtaliases_strtsee_also_strtsee_also((sC/usr/lib/python2.7/dist-packages/bzrlib/doc_generate/autodoc_man.pyR<wsH

"
		




cC@s"d|}|d||f7}|S(Ns
.SS "bzr %s"
sAlias for "%s", see "bzr %s".
((RRAR7R2((sC/usr/lib/python2.7/dist-packages/bzrlib/doc_generate/autodoc_man.pyR>©s
cc@sMdVddlm}x1|D])\}}dVd|Vt|ƒdVqWdS(Ns.SH "ENVIRONMENT"
i(tknown_env_variabless.TP
s.I "%s"
s
(tbzrlib.help_topicsR`R(R`tktdesc((sC/usr/lib/python2.7/dist-packages/bzrlib/doc_generate/autodoc_man.pyR¯s	sü.\"Man page for Bazaar (%(bzrcmd)s)
.\"
.\" Large parts of this file are autogenerated from the output of
.\"     "%(bzrcmd)s help commands"
.\"     "%(bzrcmd)s help <cmd>"
.\"
.\" Generation time: %(timestamp)s
.\"

.ie \n(.g .ds Aq \(aq
.el .ds Aq '
s´.TH bzr 1 "%(datestamp)s" "%(version)s" "Bazaar"
.SH "NAME"
%(bzrcmd)s - Bazaar next-generation distributed version control
.SH "SYNOPSIS"
.B "%(bzrcmd)s"
.I "command"
[
.I "command_options"
]
.br
.B "%(bzrcmd)s"
.B "help"
.br
.B "%(bzrcmd)s"
.B "help"
.I "command"
.SH "DESCRIPTION"

Bazaar (or %(bzrcmd)s) is a distributed version control system that is powerful, 
friendly, and scalable.  Bazaar is a project of Canonical Ltd and part of 
the GNU Project to develop a free operating system.

Bazaar keeps track of changes to software source code (or similar information);
lets you explore who changed it, when, and why; merges concurrent changes; and
helps people work together in a team.
s.SH "FILES"
.TP
.I "~/.bazaar/bazaar.conf"
Contains the user's default configuration. The section
.B [DEFAULT]
is used to define general configuration that will be applied everywhere.
The section
.B [ALIASES]
can be used to create command aliases for
commonly used options.

A typical config file might look something like:

.br
[DEFAULT]
.br
email=John Doe <jdoe@isp.com>
.br
[ALIASES]
.br
commit = commit --strict
.br
log10 = log --short -r -10..-1
.SH "SEE ALSO"
.UR http://bazaar.canonical.com/
.BR http://bazaar.canonical.com/
(RGt
__future__RR(RNRRtbzrlib.helpRatbzrlib.commandst
bzrlib.pluginRRRRR0RRR<R>RRRR(((sC/usr/lib/python2.7/dist-packages/bzrlib/doc_generate/autodoc_man.pyt<module>s,									2		

Copyright © 2017 || Recoded By Mr.Bumblebee