File: //lib64/python2.7/site-packages/hgext/largefiles/proto.pyo
�
Hq�Qc @ s� d d l Z d d l Z d d l m Z m Z m Z m Z d d l m Z m Z d d l
m Z d d l Z d Z
d Z d Z d Z d � Z d � Z d � Z d � Z d
� Z d � Z d � Z d
� Z d S( i����N( t errort httppeert utilt wireproto( t batchablet future( t _sa
This repository uses the largefiles extension.
Please enable it in your Mercurial config file.
c C s | j � t j | | � } t j t j j | � � t j | d | j j
�} z� yk | j | � | j j
d � | t j | j � k r� t d t d � � � n | j � t j | | � Wn@ t k
r } | j j t d � | | j f � t j d � SXWd | j � Xt j d � S( sL Put a largefile into a repository's local store and into the
user cache.t
createmodei s$ largefile contents do not match hashs+ largefiles: failed to put %s into store: %si N( t redirectt lfutilt storepathR t makedirst ost patht dirnamet atomictempfilet storeR t getfilet _fpt seekt hexsha1t IOErrorR t closet linktousercachet uit warnt strerrorR t pushrest discard( t repot protot shaR
t tmpfpt e( ( s<