# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@fb.com>
# Date 1403515913 25200
# Node ID 85d213215d2ccb43f0b8e4deaf9e857fe3358788
# Parent  07eef20e36b0998815f6d72e88931291323c54ee# Parent  6d691fefdbd1ceb0f2b65862a76e7352098a68d4
merge with stable

diff -r 07eef20e36b0 -r 85d213215d2c hgext/evolve.py
--- a/hgext/evolve.py	Mon Jun 23 02:19:04 2014 -0700
+++ b/hgext/evolve.py	Mon Jun 23 02:31:53 2014 -0700
@@ -350,6 +350,7 @@
     # every time this test is run, a kitten is slain.
     # Change it as soon as possible
     if '[,{metadata}]' in orig.__doc__:
+        relations = list(relations)
         for idx, rel in enumerate(relations):
             prec = rel[0]
             sucs = rel[1]