~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

[merge] ftp transport, renamed-modified

Show diffs side-by-side

added added

removed removed

Lines of Context:
905
905
        else:
906
906
            raise BzrCommandError('bzr log --revision takes one or two values.')
907
907
 
908
 
        if rev1 == 0:
909
 
            rev1 = None
910
 
        if rev2 == 0:
911
 
            rev2 = None
 
908
        # By this point, the revision numbers are converted to the +ve
 
909
        # form if they were supplied in the -ve form, so we can do
 
910
        # this comparison in relative safety
 
911
        if rev1 > rev2:
 
912
            (rev2, rev1) = (rev1, rev2)
912
913
 
913
914
        mutter('encoding log as %r', bzrlib.user_encoding)
914
915