Did I find the right examples for you? yes no

All Samples(46)  |  Call(45)  |  Derive(0)  |  Import(1)

src/p/y/python-veracity-0.0.11/veracity/objects.py   python-veracity(Download)
        # Create a new repo if required
        logging.debug("checking for existing repo...")
        if self.name not in vv.parse(vv.run('repos')):
            if self.remote:
                logging.info("cloning '{s}' to '{d}'...".format(s=self.remote, d=self.name))
                vv.run('clone', self.remote, self.name)
            elif create:
                logging.info("creating repo '{n}'...".format(n=self.name))
                vv.run('repo', 'new', self.name)
            logging.log(logging.DEBUG if _auto else logging.INFO,
                        "pulling from '{s}' to '{d}'...".format(s=remote, d=self))
            vv.run('pull', remote, dest=self.name)
            self._pull_time = time.time()
        else:
            try:
                logging.log(logging.DEBUG if _auto else logging.INFO,
                            "pulling from default to '{d}'...".format(d=self))
                vv.run('pull', dest=self.name)

src/p/y/python-veracity-0.0.11/veracity/__init__.py   python-veracity(Download)
try:
    from veracity.vv import VeracityException
    from veracity.vv import repos, run as run_vv
    from veracity.objects import Repository, WorkingCopy
    from veracity.objects import Item, Changeset, Branch, Stamp, Tag, User

src/p/y/python-veracity-0.0.11/veracity/test/test_objects.py   python-veracity(Download)
            found.write("# FOUND FILE")
        os.remove('bar.c')  # lost
        vv.run('rename', "foo.h", "renamed_foo.h")  # renamed
        # Get items
        items = self.wc.status()