Lines Matching refs:ws
211 def __init__(self, backup, ws): argument
212 self.ws = ws
220 outgoing = self.ws.findoutgoing(parent)
221 nodes = self.ws.repo.changelog.nodesbetween(outgoing)[0]
228 parent = self.ws.parent()
231 self.ws.ui.warn('Workspace has no parent, committed changes will '
235 out = self.ws.findoutgoing(parent)
239 cg = self.ws.repo.changegroup(out, 'bundle')
269 self.ws.repo.addchangegroup(bundle, 'strip',
299 outnodes = set(self._outgoing_nodes(self.ws.parent()))
321 def __init__(self, backup, ws): argument
322 self.ws = ws
324 self.wctx = self.ws.workingctx(worklist=True)
347 if self.ws.merged():
372 match = self.ws.matcher(files=self.wctx.files())
373 fp.write(self.ws.diff(opts={'git': True}, match=match))
404 self.ws.repo.changelog.lookup(n)
410 self.ws.clean(rev=dirstate)
433 fuzz = patch.patch(diff, self.ws.ui, strip=1,
434 cwd=self.ws.repo.root, files=files)
442 cmdutil.updatedir(self.ws.ui, self.ws.repo, files)
444 patch.updatedir(self.ws.ui, self.ws.repo, files)
458 self.ws.copy(source, dest)
472 match = self.ws.matcher(files=self.wctx.files())
473 curdiff = self.ws.diff(opts={'git': True}, match=match)
520 def __init__(self, backup, ws): argument
522 self.ws = ws
535 zip(self.files, map(self.ws.repo.join, self.files)))
571 wfile = self.ws.repo.join(fname)
595 tar.extract(elt, path=self.ws.repo.path)
623 path = self.ws.repo.join(elt)
652 if not tar.members_match_fs(self.ws.repo.path):
661 repopath = self.ws.repo.path
688 def __init__(self, backup, ws): argument
690 self.ws = ws
698 parent = self.ws.parent()
701 outgoing = self.ws.findoutgoing(parent)
702 outnodes = set(self.ws.repo.changelog.nodesbetween(outgoing)[0])
704 heads = [self.ws.repo.changectx(n) for n in self.ws.repo.heads()
710 wctx = self.ws.workingctx()
721 pairs.append((self.ws.parenttip(c, outnodes), head))
745 for fname, change in self.ws.status(parent, child).iteritems():
786 def __init__(self, ui, ws, name): argument
787 self.ws = ws
802 self.modules = [x(self, ws) for x in [CdmCommittedBackup,
920 self.ws.ui.warn("Interrupted\n")
922 self.ws.ui.warn("Error: %s\n" % e)
923 show_traceback = self.ws.ui.configbool('ui', 'traceback',