Comment 3 for bug 300105

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

The best way is to add a try/catch block around line 524 (the call to parse_revision_metadata), e.g.:

try:
            parse_revision_metadata(metadata[1], rev)
except errors.InvalidPropertyValue, e:
            raise Exception("Error in %s:%d" % (branch, revnum))