&man.common.options.synopsis;
<arg><option>--all</option></arg>
<arg><option>--[no-]pristine-tar</option></arg>
- <arg><option>--debian-branch=</option><replaceable>branch_name</replaceable></arg>
+ <group>
+ <arg><option>--debian-branch=</option><replaceable>branch_name</replaceable></arg>
+ <arg><option>--packaging-branch=</option><replaceable>branch_name</replaceable></arg>
+ </group>
<arg><option>--upstream-branch=</option><replaceable>branch_name</replaceable></arg>
<arg><option>--depth=</option><replaceable>depth</replaceable></arg>
<arg choice="plain"><replaceable>remote_uri</replaceable></arg>
developed on, default is <replaceable>master</replaceable>.</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>--packaging-branch</option>=<replaceable>branch_name</replaceable>
+ </term>
+ <listitem>
+ <para>The branch the packaging is being maintained on.
+ Alternative to the <emphasis>--debian-branch</emphasis> option.</para>
+ </listitem>
+ </varlistentry>
<varlistentry>
<term><option>--upstream-branch</option>=<replaceable>branch_name</replaceable>
</term>
<arg><option>--redo-pq</option></arg>
<arg><option>--[no-]pristine-tar</option></arg>
<arg><option>--ignore-branch</option></arg>
- <arg><option>--debian-branch=</option><replaceable>branch_name</replaceable></arg>
+ <group>
+ <arg><option>--debian-branch=</option><replaceable>branch_name</replaceable></arg>
+ <arg><option>--packaging-branch=</option><replaceable>branch_name</replaceable></arg>
+ </group>
<arg><option>--upstream-branch=</option><replaceable>branch_name</replaceable></arg>
<arg><option>--depth=</option><replaceable>depth</replaceable></arg>
</cmdsynopsis>
developed on, default is <replaceable>master</replaceable>.</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>--packaging-branch</option>=<replaceable>branch_name</replaceable>
+ </term>
+ <listitem>
+ <para>The branch the packaging is being maintained on.
+ Alternative to the <emphasis>--debian-branch</emphasis> option.</para>
+ </listitem>
+ </varlistentry>
<varlistentry>
<term><option>--upstream-branch</option>=<replaceable>branch_name</replaceable>
</term>
@type def_config_files: list
"""
defaults = { 'debian-branch' : 'master',
+ 'packaging-branch' : 'master',
'upstream-branch' : 'upstream',
'upstream-tree' : 'TAG',
'pristine-tar' : 'False',
'debian-branch':
("Branch the Debian package is being developed on, "
"default is '%(debian-branch)s'"),
+ 'packaging-branch':
+ ("Branch the packaging is being maintained on, "
+ "rpm counterpart of the 'debian-branch' option, "
+ "default is '%(packaging-branch)s'"),
'upstream-branch':
"Upstream branch, default is '%(upstream-branch)s'",
'upstream-tree':
help="track all branches, not only debian and upstream")
branch_group.add_config_file_option(option_name="upstream-branch", dest="upstream_branch")
branch_group.add_config_file_option(option_name="debian-branch", dest="packaging_branch")
+ branch_group.add_config_file_option(option_name="packaging-branch", dest="packaging_branch")
branch_group.add_boolean_config_file_option(option_name="pristine-tar", dest="pristine_tar")
branch_group.add_option("--depth", action="store", dest="depth", default=0,
help="git history depth (for creating shallow clones)")
help="redo the patch queue branch after a pull. Warning: this drops the old patch-queue branch")
branch_group.add_config_file_option(option_name="upstream-branch", dest="upstream_branch")
branch_group.add_config_file_option(option_name="debian-branch", dest="packaging_branch")
+ branch_group.add_config_file_option(option_name="packaging-branch", dest="packaging_branch")
branch_group.add_boolean_config_file_option(option_name="pristine-tar", dest="pristine_tar")
branch_group.add_option("--depth", action="store", dest="depth", default=0,
help="git history depth (for deepening shallow clones)")