comparison hgext/convert/subversion.py @ 15355:dbdb777502dc stable

consistency: use util.realpath instead of os.path.realpath where useful exceptions: hg: os.path.realpath used before util can be imported tests/run-tests.py: may not import mercurial modules
author Thomas Arendsen Hein <thomas@intevation.de>
date Mon, 24 Oct 2011 13:51:24 +0200
parents 8542a9c9f679
children c519cd8f0169
comparison
equal deleted inserted replaced
15354:42630f54e513 15355:dbdb777502dc
974 self.delexec = [] 974 self.delexec = []
975 self.copies = [] 975 self.copies = []
976 self.wc = None 976 self.wc = None
977 self.cwd = os.getcwd() 977 self.cwd = os.getcwd()
978 978
979 path = os.path.realpath(path) 979 path = util.realpath(path)
980 980
981 created = False 981 created = False
982 if os.path.isfile(os.path.join(path, '.svn', 'entries')): 982 if os.path.isfile(os.path.join(path, '.svn', 'entries')):
983 self.wc = path 983 self.wc = path
984 self.run0('update') 984 self.run0('update')