Print the git branch when doctesting
Print git branch: changes suggested by referee
Trac 17317: new method IntegerModRing_generic.unit_group()
Trac 17317: revert some of the changes in the previous commit
Trac 17317: rewrite _unit_gens_primepowercase() using primitive_root()
Trac 17317: slightly change error message and add doctests
Trac 17317: temporary special case n = 1 to avoid having to fix many doctests
Trac 17317: add optional keywords to unit_gens() and update related documentation
Trac #13297: Basic cmd line tests for rst2txt and rst2sws
Trac #13297: Adding and fixing tests for rst2txt and rst2sws
Mention git in the source building installation guide.
Mention downloading of tarballs when using git.
trac 13993 Implementation of plotting edge labels for posets
Trac 17317: Factor out computation of p**r
trac #13993 details, more doc
trac #13993 fixup
Trac #13297: Fix broken rst2sws and add doctests for the scripts rst2txt and rst2sws

{{{sage -rst2sws}}} and {{{sage -rst2txt}}} introduced in #11459 are not
doctested and are suceptible to be broken in the future. Such doctests
can be added to the file {{{sage/tests/cmdline.py}}}.

Indeed, {{{sage -rst2sws}}} was broken, cf. #17371. This is fixed here
and doctests are now added.

URL: http://trac.sagemath.org/13297
Reported by: slabbe
Ticket author(s): Sébastien Labbé
Reviewer(s): Clemens Heuberger
Trac #13993: Implementation of plotting cover labels for posets

This patch implements the possibility to plot labels of the cover
relations of a poset.

URL: http://trac.sagemath.org/13993
Reported by: stumpc5
Ticket author(s): Christian Stump
Reviewer(s): Nathann Cohen
Trac #17153: Print the git branch when doctesting

Every now and then, I see a disagreement about whether certain changes
caused doctest failures, and these disagreements are sometimes settled
when someone says, "Oh, I was testing the wrong branch." So let's print
the branch when doctesting.

URL: http://trac.sagemath.org/17153
Reported by: jhpalmieri
Ticket author(s): John Palmieri
Reviewer(s): Jeroen Demeyer
Trac #17317: Add unit_group() method to IntegerModRing

This ticket implements a `unit_group()` method for '''Z'''/''n'''''Z'''.
Example:
{{{
sage: A = Zmod(24)
sage: G = A.unit_group(); G
Multiplicative Abelian group isomorphic to C2 x C2 x C2
sage: G.gens_orders()
(2, 2, 2)
sage: G.gens_values()
(7, 13, 17)
}}}

At the moment, there is no new class for such groups; it uses
`AbelianGroupWithValues`.  However, this could easily be changed in the
future if required.

The `unit_group()` method admits an optional `algorithm` argument
(default: `'sage'`).  This can be set to `'pari'` to use PARI's
`znstar()` function (see #17315).  This gives different generators in
general.

See also:

- #7234
- https://groups.google.com/forum/#!topic/sage-devel/T5A_gwrtZT0

URL: http://trac.sagemath.org/17317
Reported by: pbruin
Ticket author(s): Peter Bruin
Reviewer(s): Jeroen Demeyer