mercurial/util.py
changeset 43673 f0bee3b1b847
parent 43672 9fb85668ee15
child 43674 5be909dbe385
equal deleted inserted replaced
43672:9fb85668ee15 43673:f0bee3b1b847
  1822     b.reverse()
  1822     b.reverse()
  1823     return pycompat.ossep.join(([b'..'] * len(a)) + b) or b'.'
  1823     return pycompat.ossep.join(([b'..'] * len(a)) + b) or b'.'
  1824 
  1824 
  1825 
  1825 
  1826 datapath = resourceutil.datapath
  1826 datapath = resourceutil.datapath
  1827 i18n.setdatapath(datapath)
       
  1828 
  1827 
  1829 
  1828 
  1830 def checksignature(func):
  1829 def checksignature(func):
  1831     '''wrap a function with code to check for calling errors'''
  1830     '''wrap a function with code to check for calling errors'''
  1832 
  1831