(self, args)
| 4321 | self.cloneBare = False |
| 4322 | |
| 4323 | def defaultDestination(self, args): |
| 4324 | # TODO: use common prefix of args? |
| 4325 | depotPath = args[0] |
| 4326 | depotDir = re.sub(r"(@[^@]*)$", "", depotPath) |
| 4327 | depotDir = re.sub(r"(#[^#]*)$", "", depotDir) |
| 4328 | depotDir = re.sub(r"\.\.\.$", "", depotDir) |
| 4329 | depotDir = re.sub(r"/$", "", depotDir) |
| 4330 | return os.path.split(depotDir)[1] |
| 4331 | |
| 4332 | def run(self, args): |
| 4333 | if len(args) < 1: |