summaryrefslogtreecommitdiff
path: root/morphlib/morph2.py
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib/morph2.py')
-rw-r--r--morphlib/morph2.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/morphlib/morph2.py b/morphlib/morph2.py
index a733ce77..6975e699 100644
--- a/morphlib/morph2.py
+++ b/morphlib/morph2.py
@@ -252,7 +252,8 @@ class Morphology(object):
continue
value = self._apply_changes_for_key(key, live_dict, original_dict)
- if value is not None:
+ # VILE HACK to preserve nulls in repo/ref fields
+ if value is not None or key in ('repo', 'ref'):
output_dict[key] = value
return output_dict