mercurial/repo.py
author Thomas Arendsen Hein <thomas@intevation.de>
Wed, 16 Nov 2005 12:56:19 +0100
changeset 1551 e793cbc8be00
parent 1089 142b5d5ec9cc
child 2612 ffb895f16925
permissions -rw-r--r--
Fixes to "hg heads -r FOO": Make it actually work (undefined variable 'rev'; allow to pass a rev parameter). repo.branchlookup() doesn't need a copy of heads because it doesn't modify it. Use None as default argument to heads() instead of nullid. Doc string PEPification.

# repo.py - repository base classes for mercurial
#
# Copyright 2005 Matt Mackall <mpm@selenic.com>
#
# This software may be used and distributed according to the terms
# of the GNU General Public License, incorporated herein by reference.

class RepoError(Exception): pass