~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to services/diffservice

  • Committer: David Coles
  • Date: 2009-12-02 01:25:02 UTC
  • mto: This revision was merged to the branch mainline in revision 1328.
  • Revision ID: coles.david@gmail.com-20091202012502-lg5zoxtx4h7i44mj
Return 404 when subversion returns ERR_ENTRY_NOT_FOUND errors in services

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
    try:
61
61
        code = e[1][0][1]
62
62
        # See subversion/include/svn_error_codes.h.
 
63
        # 150000: ERR_ENTRY_NOT_FOUND
63
64
        # 155007: WC_NOT_DIRECTORY.
64
65
        # 160013: FS_NOT_FOUND
65
66
        # 200005: UNVERSIONED_RESOURCE
66
 
        if code in (155007, 160013, 200005):
 
67
        if code in (150000, 155007, 160013, 200005):
67
68
            error = 'notfound'
68
69
        else:
69
70
            error = '%s (code %d)' % (error, code)