summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Server/Plugins')
-rw-r--r--src/lib/Server/Plugins/Bzr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Bzr.py b/src/lib/Server/Plugins/Bzr.py
index 5886ddba9..a4cebe827 100644
--- a/src/lib/Server/Plugins/Bzr.py
+++ b/src/lib/Server/Plugins/Bzr.py
@@ -27,7 +27,7 @@ class Bzr(Bcfg2.Server.Plugin.Plugin,
try:
working_tree = WorkingTree.open(self.datastore)
revision = str(working_tree.branch.revno())
- if working_tree.changes_from(working_tree.basis_tree()).has_changed:
+ if working_tree.has_changes(working_tree.basis_tree()) or working_tree.unknowns():
revision += "+"
except errors.NotBranchError:
logger.error("Failed to read Bazaar branch; disabling Bazaar support")