1. Tamas Nagy
  2. riak


Ryan Tilder  committed 3119e26

Make sure the dist target works with slightly older revisions of Mercurial

  • Participants
  • Parent commits c67c13f
  • Branches default

Comments (0)

Files changed (1)

File Makefile

View file
 	$(if $(findstring tip,$(RIAK_TAG)),$(error "You can't generate a release tarball from tip"))
 	mkdir distdir
-	hg clone -u $(RIAK_TAG) . distdir/riak-clone
+	hg clone . distdir/riak-clone
+	cd distdir/riak-clone; \
+	hg update -r $(RIAK_TAG)
 	cd distdir/riak-clone; \
 	hg archive ../$(RIAK_TAG); \
 	mkdir ../$(RIAK_TAG)/deps; \