/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/cmd_version_info.py

  • Committer: John Arbash Meinel
  • Date: 2006-09-21 16:33:39 UTC
  • mto: This revision was merged to the branch mainline in revision 2028.
  • Revision ID: john@arbash-meinel.com-20060921163339-f96d93a31db0d88a
test feedback from Robert.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
 
29
29
def _parse_version_info_format(format):
 
30
    """Convert a string passed by the user into a VersionInfoFormat.
 
31
 
 
32
    This looks in the version info format registry, and if the format
 
33
    cannot be found, generates a useful error exception.
 
34
    """
30
35
    try:
31
36
        return version_info_formats.get_builder(format)
32
37
    except KeyError:
57
62
            include_file_revisions=False):
58
63
 
59
64
        if location is None:
60
 
            location = u'.'
 
65
            location = '.'
61
66
 
62
67
        if format is None:
63
68
            format = version_info_formats.get_builder(None)