##// END OF EJS Templates
git: use force fetch and update for target ref. This solves a case...
git: use force fetch and update for target ref. This solves a case when in PRs a target is force updated and is out of sync. Before we used a pull which --ff-only fails obviosly because two are out of sync. This change uses new logic that resets the target branch according to the source target branch allowing smooth merge simulation.

File last commit:

r2758:23866423 default
r2784:e8c62649 default
Show More
patch-beaker-metadata-reuse.diff
13 lines | 832 B | text/x-diff | DiffLexer
/ pkgs / patch-beaker-metadata-reuse.diff
diff -rup Beaker-1.9.1-orig/beaker/ext/database.py Beaker-1.9.1/beaker/ext/database.py
--- Beaker-1.9.1-orig/beaker/ext/database.py 2018-05-22 18:22:34.802619619 +0200
+++ Beaker-1.9.1/beaker/ext/database.py 2018-05-22 17:07:14.048335196 +0200
@@ -91,7 +91,8 @@ class DatabaseNamespaceManager(OpenResou
sa.Column('created', types.DateTime, nullable=False),
sa.Column('data', types.PickleType, nullable=False),
sa.UniqueConstraint('namespace'),
- schema=schema_name if schema_name else meta.schema
+ schema=schema_name if schema_name else meta.schema,
+ extend_existing=True
)
cache.create(checkfirst=True)
return cache