/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/_dirstate_helpers_c.pyx

  • Committer: Andrew Bennetts
  • Date: 2007-10-12 05:26:46 UTC
  • mfrom: (2904 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2906.
  • Revision ID: andrew.bennetts@canonical.com-20071012052646-wl95idld3ijjy714
Merge from bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
196
196
 
197
197
    :param path1: first path
198
198
    :param path2: second path
199
 
    :return: positive number if ``path1`` comes first,
 
199
    :return: negative number if ``path1`` comes first,
200
200
        0 if paths are equal,
201
 
        and negative number if ``path2`` sorts first
 
201
        and positive number if ``path2`` sorts first
202
202
    """
203
203
    if not PyString_CheckExact(path1):
204
204
        raise TypeError("'path1' must be a plain string, not %s: %r"
224
224
 
225
225
    :param path1: first path
226
226
    :param path2: the second path
227
 
    :return: positive number if ``path1`` comes first,
 
227
    :return: negative number if ``path1`` comes first,
228
228
        0 if paths are equal
229
 
        and a negative number if ``path2`` sorts first
 
229
        and a positive number if ``path2`` sorts first
230
230
    """
231
231
    if not PyString_CheckExact(path1):
232
232
        raise TypeError("'path1' must be a plain string, not %s: %r"