Sign in
apache
/
allura
/
refs/heads/42cc_4186
/
.
/
scripts
/
migrations
/
018-add-svn-checkout-url.py
blob: de8bd59b7d052cc63121d760e550e000908de9ef [
file
] [
log
] [
blame
]
from
allura
import
model
as
M
from
ming
.
orm
import
ThreadLocalORMSession
for
app
in
M
.
AppConfig
.
query
.
find
(
dict
(
tool_name
=
"svn"
)).
all
():
if
'checkout_url'
not
in
app
.
options
:
app
.
options
.
checkout_url
=
'trunk'
ThreadLocalORMSession
.
flush_all
()