コード例 #1
0
ファイル: proto.py プロジェクト: pierfort123/mercurial
def heads(repo, proto):
    if lfutil.islfilesrepo(repo):
        return wireproto.ooberror(LARGEFILES_REQUIRED_MSG)
    return wireproto.heads(repo, proto)
コード例 #2
0
def heads(repo, proto):
    '''Wrap server command - largefile capable clients will know to call
    lheads instead'''
    if lfutil.islfilesrepo(repo):
        return wireproto.ooberror(LARGEFILES_REQUIRED_MSG)
    return wireproto.heads(repo, proto)
コード例 #3
0
ファイル: proto.py プロジェクト: motlin/cyg
def heads(repo, proto):
    '''Wrap server command - largefile capable clients will know to call
    lheads instead'''
    if lfutil.islfilesrepo(repo):
        return wireproto.ooberror(LARGEFILES_REQUIRED_MSG)
    return wireproto.heads(repo, proto)
コード例 #4
0
def heads(repo, proto):
    if lfutil.islfilesrepo(repo):
        return wireproto.ooberror(LARGEFILES_REQUIRED_MSG)
    return wireproto.heads(repo, proto)
コード例 #5
0
def heads(repo, proto):
    if bfutil.iskbfilesrepo(repo):
        return _heads_prefix + wireproto.heads(repo, proto)
    return wireproto.heads(repo, proto)