Lines Matching refs:ws
131 def buildfilelist(ws, parent, files): argument
144 active = ws.active(parent=parent)
145 return [(ws.filepath(e.name), e) for e in sorted(active)]
179 def abort_if_dirty(ws): argument
183 if ws.modified():
185 if ws.merged():
187 if ws.branched():
189 if ws.mq_applied():
801 def run_checks(ws, cmds, *args, **opts): argument
808 if not ws.ui.configbool('cdm', name, True):
809 ws.ui.status('Skipping %s check...\n' % name)
811 ws.ui.pushbuffer()
812 result = cmd(ws.ui, ws.repo, honour_nots=True, *args, **opts)
813 output = ws.ui.popbuffer()
817 if not ws.ui.quiet or result != 0:
818 ws.ui.write(output, '\n')
933 ws = wslist[repo]
938 abort_if_dirty(ws)
944 parent = ws.parent(opts['parent'])
945 between = repo.changelog.nodesbetween(ws.findoutgoing(parent))[2]
959 active = ws.active(parent)
1001 bk = CdmBackup(ui, ws, backup_name(repo.root))
1010 ws.squishdeltas(active, message, user=user)