summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--project.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/project.py b/project.py
index 125fb48c..37f6d36a 100644
--- a/project.py
+++ b/project.py
@@ -691,11 +691,11 @@ class Project(object):
691 """Perform only the local IO portion of the sync process. 691 """Perform only the local IO portion of the sync process.
692 Network access is not required. 692 Network access is not required.
693 """ 693 """
694 self._InitWorkTree()
695 all = self.bare_ref.all 694 all = self.bare_ref.all
696 self.CleanPublishedCache(all) 695 self.CleanPublishedCache(all)
697
698 revid = self.GetRevisionId(all) 696 revid = self.GetRevisionId(all)
697
698 self._InitWorkTree()
699 head = self.work_git.GetHead() 699 head = self.work_git.GetHead()
700 if head.startswith(R_HEADS): 700 if head.startswith(R_HEADS):
701 branch = head[len(R_HEADS):] 701 branch = head[len(R_HEADS):]