thirdparty/vcs-load-dirs/svk_load_dirs
author Sverre Rabbelier <srabbelier@gmail.com>
Sat, 12 Sep 2009 21:27:17 +0200
changeset 2910 60d56cf01b54
parent 2311 e8262ca32109
permissions -rwxr-xr-x
Use the new optional argument to endRequest in the middleware Currently endRequest is called twice on an exception if Django intercepts the exception and returns it's own result. By setting optional=True we do not crash on 'assert self.in_request'.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2311
e8262ca32109 Add vcs-load-dirs project to thirdparty directory.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
     1
#!/usr/bin/python
e8262ca32109 Add vcs-load-dirs project to thirdparty directory.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
     2
# Copyright (C) 2003-2007 John Goerzen
e8262ca32109 Add vcs-load-dirs project to thirdparty directory.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
     3
# <jgoerzen@complete.org>
e8262ca32109 Add vcs-load-dirs project to thirdparty directory.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
     4
#
e8262ca32109 Add vcs-load-dirs project to thirdparty directory.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
     5
#    This program is free software; you can redistribute it and/or modify
e8262ca32109 Add vcs-load-dirs project to thirdparty directory.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
     6
#    it under the terms of the GNU General Public License as published by
e8262ca32109 Add vcs-load-dirs project to thirdparty directory.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
     7
#    the Free Software Foundation; either version 2 of the License, or
e8262ca32109 Add vcs-load-dirs project to thirdparty directory.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
     8
#    (at your option) any later version.
e8262ca32109 Add vcs-load-dirs project to thirdparty directory.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
     9
#
e8262ca32109 Add vcs-load-dirs project to thirdparty directory.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    10
#    This program is distributed in the hope that it will be useful,
e8262ca32109 Add vcs-load-dirs project to thirdparty directory.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    11
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
e8262ca32109 Add vcs-load-dirs project to thirdparty directory.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    12
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
e8262ca32109 Add vcs-load-dirs project to thirdparty directory.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    13
#    GNU General Public License for more details.
e8262ca32109 Add vcs-load-dirs project to thirdparty directory.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    14
#
e8262ca32109 Add vcs-load-dirs project to thirdparty directory.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    15
#    You should have received a copy of the GNU General Public License
e8262ca32109 Add vcs-load-dirs project to thirdparty directory.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    16
#    along with this program; if not, write to the Free Software
e8262ca32109 Add vcs-load-dirs project to thirdparty directory.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    17
#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
e8262ca32109 Add vcs-load-dirs project to thirdparty directory.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    18
e8262ca32109 Add vcs-load-dirs project to thirdparty directory.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    19
from vcs_support import init
e8262ca32109 Add vcs-load-dirs project to thirdparty directory.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    20
init.run("svk")