summaryrefslogtreecommitdiff
path: root/tool/make-snapshot
diff options
context:
space:
mode:
Diffstat (limited to 'tool/make-snapshot')
-rwxr-xr-xtool/make-snapshot4
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot
index d81a28c091..0b3d284a90 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -234,7 +234,7 @@ def package(vcs, rev, destdir, tmp = nil)
warn "#{$0}: unknown version - #{rev}"
return
end
- revision ||= vcs.get_revisions(url)[1]
+ revision ||= vcs.get_revisions(url)[0]
version = nil
unless revision
url = vcs.trunk
@@ -243,7 +243,7 @@ def package(vcs, rev, destdir, tmp = nil)
warn "#{$0}: #{rev} not found"
return
end
- revision = vcs.get_revisions(url)[1]
+ revision = vcs.get_revisions(url)[0]
end
v = nil
if $exported