@property<EOL><INDENT>def is_bare(self):<DEDENT>
<EOL>self.create()<EOL>try:<EOL><INDENT>output = self.context.capture('<STR_LIT>', '<STR_LIT:id>', silent=True)<EOL>tokens = output.split()<EOL>return int(tokens[<NUM_LIT:0>]) == <NUM_LIT:0><EOL><DEDENT>except Exception:<EOL><INDENT>return False<EOL><DEDENT>
:data:`True` if the repository has no working tree, :data:`False` if it does.

The value of this property is computed by running the ``hg id`` command
to check whether the special global revision id ``000000000000`` is
reported.