Plugins/VcsPlugins/vcsMercurial/FetchExtension/fetch.py

changeset 1318
6fa303bd65d6
parent 1249
77f836a883c1
child 1509
c0b5e693b0eb
equal deleted inserted replaced
1316:0bb67aced672 1318:6fa303bd65d6
38 """ 38 """
39 # find the root of the repo 39 # find the root of the repo
40 repodir = self.vcs.splitPath(name)[0] 40 repodir = self.vcs.splitPath(name)[0]
41 while not os.path.isdir(os.path.join(repodir, self.vcs.adminDir)): 41 while not os.path.isdir(os.path.join(repodir, self.vcs.adminDir)):
42 repodir = os.path.dirname(repodir) 42 repodir = os.path.dirname(repodir)
43 if repodir == os.sep: 43 if os.path.splitdrive(repodir)[1] == os.sep:
44 return False 44 return False
45 45
46 res = False 46 res = False
47 dlg = HgFetchDialog() 47 dlg = HgFetchDialog()
48 if dlg.exec_() == QDialog.Accepted: 48 if dlg.exec_() == QDialog.Accepted:

eric ide

mercurial