From 029eaf3bac39d0dce49e0627597b1659d5335dde Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Thu, 3 Sep 2015 12:52:28 -0700 Subject: [PATCH] _CopyAndLinkFiles even if the sources haven't changed The source or destination attributes may have changed even if the source didn't, so we need to make sure that these are up to date. Change-Id: I266ef3598ddda7e8c23bc9c6a049905ddc586348 --- project.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/project.py b/project.py index f964b2fc..5d8f61e1 100644 --- a/project.py +++ b/project.py @@ -1275,6 +1275,8 @@ class Project(object): # Except if the head needs to be detached # if not syncbuf.detach_head: + # The copy/linkfile config may have changed. + self._CopyAndLinkFiles() return else: lost = self._revlist(not_rev(revid), HEAD) @@ -1292,6 +1294,8 @@ class Project(object): if head == revid: # No changes; don't do anything further. # + # The copy/linkfile config may have changed. + self._CopyAndLinkFiles() return branch = self.GetBranch(branch)