Mercurial > hg
comparison tests/test-rollback.t @ 31770:3ed26ba54685
test-serve: kill daemons before deleting the access and error logs
On Windows, `rm` will fail with 'Permission denied' if another process has it
open. It looks like the rollback test was missing the kill entirely.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sun, 02 Apr 2017 01:28:05 -0400 |
parents | fe50341de1ff |
children | 2debf1e3cfa4 |
comparison
equal
deleted
inserted
replaced
31769:594dd384803c | 31770:3ed26ba54685 |
---|---|
146 $ hg -R ../t rollback | 146 $ hg -R ../t rollback |
147 repository tip rolled back to revision 1 (undo commit) | 147 repository tip rolled back to revision 1 (undo commit) |
148 working directory now based on revision 0 | 148 working directory now based on revision 0 |
149 $ hg id default | 149 $ hg id default |
150 791dd2169706 | 150 791dd2169706 |
151 | |
152 $ killdaemons.py | |
151 #endif | 153 #endif |
152 | 154 |
153 update to older changeset and then refuse rollback, because | 155 update to older changeset and then refuse rollback, because |
154 that would lose data (issue2998) | 156 that would lose data (issue2998) |
155 $ cd ../t | 157 $ cd ../t |