Mercurial > hg
annotate tests/test-check-config.t @ 28573:6a42564081cb
shelve: adds restoring newly created branch (issue5048) (BC)
Before this patch shelve never preserved branch information,
so after applying unshelve branch was the same as it was
on working copy no matter in which branch shelve took place.
This patch makes bare shelving(with no files specified, without
interactive,include and exclude option) remembers information if
the working directory was on newly created branch ,in other words
working directory was on different branch than its first parent.
In this situation unshelving restores branch information to the working
directory.
author | liscju <piotr.listkiewicz@gmail.com> |
---|---|
date | Wed, 10 Feb 2016 02:23:27 +0100 |
parents | 8f244b75cc5e |
children | 3c9066ed557c |
rev | line source |
---|---|
25854 | 1 #require test-repo |
2 | |
3 $ cd "$TESTDIR"/.. | |
4 | |
5 New errors are not allowed. Warnings are strongly discouraged. | |
6 | |
25866
8c1d7a0e737b
test-check-config: convert directory separators to '/' for MSYS
Matt Harbison <matt_harbison@yahoo.com>
parents:
25854
diff
changeset
|
7 $ hg files "set:(**.py or **.txt) - tests/**" | sed 's|\\|/|g' | |
27992
8f244b75cc5e
tests: execute check-config.py without xargs
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents:
27368
diff
changeset
|
8 > python contrib/check-config.py |