[Python-apps-commits] r12631 - in packages/hg-git/trunk/debian (2 files)
vicho at users.alioth.debian.org
vicho at users.alioth.debian.org
Mon Nov 30 12:49:03 UTC 2015
Date: Monday, November 30, 2015 @ 12:49:01
Author: vicho
Revision: 12631
Improve autopkgtest to push commits from the mercurial clone to git
Modified:
packages/hg-git/trunk/debian/changelog
packages/hg-git/trunk/debian/tests/mercurial-git
Modified: packages/hg-git/trunk/debian/changelog
===================================================================
--- packages/hg-git/trunk/debian/changelog 2015-11-27 17:18:52 UTC (rev 12630)
+++ packages/hg-git/trunk/debian/changelog 2015-11-30 12:49:01 UTC (rev 12631)
@@ -3,6 +3,7 @@
* Fix "add explanatory comments in README.Debian for reST markup" by
clarifying that it uses ReST markup. Thanks Ben Finney
<ben+debian at benfinney.id.au> for the patch. (Closes: #805756)
+ * Improve autopkgtest to push commits from the mercurial clone to git
-- Javi Merino <vicho at debian.org> Mon, 23 Nov 2015 20:27:43 +0000
Modified: packages/hg-git/trunk/debian/tests/mercurial-git
===================================================================
--- packages/hg-git/trunk/debian/tests/mercurial-git 2015-11-27 17:18:52 UTC (rev 12630)
+++ packages/hg-git/trunk/debian/tests/mercurial-git 2015-11-30 12:49:01 UTC (rev 12631)
@@ -5,14 +5,22 @@
set -e
# Setup a git repository with some content
-git init try
-cd try
+git init --bare git_server
+git clone git_server git_clone
+cd git_clone
git config user.name Babar
git config user.email babar at jungle.org
echo a >a
git add a
git commit -m a
+git push origin master
cd ..
# Now try to clone it with mercurial-git
-exec hg --config extensions.git= clone try try2
+hg --config extensions.git= clone git_server hg_clone
+
+# Do some changes and push them to the git server
+cd hg_clone
+echo b >>a
+hg commit -u "Babar <babar at jungle.org>" -m "more content to a"
+exec hg --config extensions.git= push
More information about the Python-apps-commits
mailing list