Plugins/VcsPlugins/vcsMercurial/HgStatusDialog.py

branch
5_1_x
changeset 1320
e94577f27c3e
parent 791
9ec2ac20e54e
child 1510
e75ecf2bd9dd
equal deleted inserted replaced
1317:aa16b0456e8f 1320:e94577f27c3e
172 172
173 # find the root of the repo 173 # find the root of the repo
174 repodir = self.dname 174 repodir = self.dname
175 while not os.path.isdir(os.path.join(repodir, self.vcs.adminDir)): 175 while not os.path.isdir(os.path.join(repodir, self.vcs.adminDir)):
176 repodir = os.path.dirname(repodir) 176 repodir = os.path.dirname(repodir)
177 if repodir == os.sep: 177 if os.path.splitdrive(repodir)[1] == os.sep:
178 return 178 return
179 179
180 self.process.setWorkingDirectory(repodir) 180 self.process.setWorkingDirectory(repodir)
181 181
182 self.setWindowTitle(self.trUtf8('Mercurial Status')) 182 self.setWindowTitle(self.trUtf8('Mercurial Status'))

eric ide

mercurial