raising for revision conflict
@@ -262,7 +262,7 @@ class DepsGraphBuilder(object):
# a revision, so it's ok any previous_ref
if previous_ref.revision and new_ref.revision and previous_ref.revision != new_ref.revision:
if consumer_ref:
- return ("Conflict in %s\n"
+ raise ConanException("Conflict in %s\n"
" Different revisions of %s has been requested"
% (consumer_ref, new_ref))
return True
