[jhbuild] svn: use 'svn info URL' when checkout_mode is export (GNOME bug 658601)
- From: Craig Keogh <cskeogh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] svn: use 'svn info URL' when checkout_mode is export (GNOME bug 658601)
- Date: Mon, 19 Dec 2011 11:48:54 +0000 (UTC)
commit fd2eab152e09e1e49b6d803e36b0878a0fce22c2
Author: Craig Keogh <cskeogh adam com au>
Date: Mon Dec 19 22:15:22 2011 +1030
svn: use 'svn info URL' when checkout_mode is export (GNOME bug 658601)
Thank you to Eder Ruiz Maria for tracking down the problem.
jhbuild/versioncontrol/svn.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/jhbuild/versioncontrol/svn.py b/jhbuild/versioncontrol/svn.py
index de3f22b..60411fc 100644
--- a/jhbuild/versioncontrol/svn.py
+++ b/jhbuild/versioncontrol/svn.py
@@ -315,7 +315,10 @@ class SubversionBranch(Branch):
if not os.path.exists(self.srcdir):
return None
try:
- info = get_info(self.srcdir)
+ if self.config.checkout_mode == 'export':
+ info = get_info(self.module)
+ else:
+ info = get_info(self.srcdir)
except CommandError:
return None
try:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]