Ejemplo n.º 1
0
    def fetch(self):
        with remote_operation:
            fetch.clear()

            try:
                log.debug("Start fetching")
                self.repository.fetch(self.upstream, self.branch)
                fetch_successful.set()
                log.debug("Fetch done")
            except:
                fetch_successful.clear()
                log.exception("Fetch failed")
Ejemplo n.º 2
0
Archivo: fetch.py Proyecto: rm3l/gitfs
    def fetch(self):
        with remote_operation:
            fetch.clear()

            try:
                log.debug("Start fetching")
                self.repository.fetch(self.upstream, self.branch)
                fetch_successful.set()
                log.debug("Fetch done")
            except:
                fetch_successful.clear()
                log.exception("Fetch failed")
Ejemplo n.º 3
0
    def fetch(self):
        with remote_operation:
            fetch.clear()

            try:
                log.debug("Start fetching")
                was_behind = self.repository.fetch(self.upstream, self.branch)
                fetch_successful.set()
                if was_behind:
                    log.info("Fetch done")
                else:
                    log.debug("Nothing to fetch")
            except:
                fetch_successful.clear()
                log.exception("Fetch failed")
Ejemplo n.º 4
0
    def fetch(self):
        with remote_operation:
            fetch.clear()

            try:
                log.debug("Start fetching")
                was_behind = self.repository.fetch(self.upstream, self.branch)
                fetch_successful.set()
                if was_behind:
                    log.info("Fetch done")
                else:
                    log.debug("Nothing to fetch")
            except:
                fetch_successful.clear()
                log.exception("Fetch failed")