Mercurial > hg
view tests/test-default-push @ 4825:3cf94964c56b
hg log: Move filtering implicit parents to own method and use it in templater.
Extended test repo in test-command-template to contain changeset to test this.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Sun, 08 Jul 2007 12:52:08 +0200 |
parents | 6dbb8ae0a0b3 |
children |
line wrap: on
line source
#!/bin/sh hg init a echo a > a/a hg --cwd a ci -Ama hg clone a c hg clone a b echo b >> b/a hg --cwd b ci -mb echo % push should push to default when default-push not set hg --cwd b push | sed 's/pushing to.*/pushing/' echo % push should push to default-push when set echo 'default-push = ../c' >> b/.hg/hgrc hg --cwd b push | sed 's/pushing to.*/pushing/'