97 |
97 |
98 # find the root of the repo |
98 # find the root of the repo |
99 repodir = dname |
99 repodir = dname |
100 while not os.path.isdir(os.path.join(repodir, self.vcs.adminDir)): |
100 while not os.path.isdir(os.path.join(repodir, self.vcs.adminDir)): |
101 repodir = os.path.dirname(repodir) |
101 repodir = os.path.dirname(repodir) |
102 if repodir == os.sep: |
102 if os.path.splitdrive(repodir)[1] == os.sep: |
103 return |
103 return |
104 |
104 |
105 args = [] |
105 args = [] |
106 if self.mode == self.INCOMING: |
106 if self.mode == self.INCOMING: |
107 args.append('incoming') |
107 args.append('incoming') |