Mercurial > hg
view tests/test-default-push @ 8556:f5fae700cc00
inotify: set a flag so a failed inotify query doesn't get repeated.
If, for some reason, we can't get the inotify server to start, it's better to
disable inotify queries for the instance to avoid trying over and over to start
the server, which takes time. Just fall back on repo.status()
author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
---|---|
date | Wed, 06 May 2009 01:40:03 +0900 |
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/'