Cédric Krier pushed to branch branch/default at Tryton / Tools


Commits:
598e8981 by Cédric Krier at 2023-01-01T10:56:35+01:00
Quote branch and directory name in revision expression
- - - - -


1 changed file:

- to_release


Changes:

=====================================
to_release
=====================================
@@ -25,8 +25,8 @@
     for branch in branches:
         changesets = subprocess.check_output(
             'hg log '
-            f'-r "only({branch}, tagged() and ancestors({branch})) '
-            f'and follow({dirname}, {branch}) '
+            f'-r "only(\'{branch}\', tagged() and ancestors(\'{branch}\')) '
+            f'and follow(\'{dirname}\', \'{branch}\') '
             'and not grep(r\'^Increase version number$\') '
             'and not grep(r\'^Prepare migration to monorepo$\')" '
             f'-T "{{node}}\\n"',



View it on Heptapod: 
https://foss.heptapod.net/tryton/tools/-/commit/598e8981f8d77928e1d663c85755cde7cc4b4d99

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tools/-/commit/598e8981f8d77928e1d663c85755cde7cc4b4d99
You're receiving this email because of your account on foss.heptapod.net.


Reply via email to