comparison tests/test-rewind.t @ 3873:b81fd1487e04

rewing: prevent rewind in case of uncommitted changes rewind can update, which means merge and troubles. We might relax this limitation in the future.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sun, 17 Jun 2018 03:56:54 +0200
parents bbc3cfdfe42b
children d00f0c369bc7 8f54ab5dd4e2
comparison
equal deleted inserted replaced
3872:bbc3cfdfe42b 3873:b81fd1487e04
915 o changeset: 0:eba9c2249fe7 915 o changeset: 0:eba9c2249fe7
916 user: test 916 user: test
917 date: Thu Jan 01 00:00:00 1970 +0000 917 date: Thu Jan 01 00:00:00 1970 +0000
918 summary: c_ROOT 918 summary: c_ROOT
919 919
920 $ cd ..
921
922 Check error cases
923 =================
924
925 $ hg clone rewind-testing-base rewind-testing-error
926 updating to branch default
927 3 files updated, 0 files merged, 0 files removed, 0 files unresolved
928 $ cd rewind-testing-error
929
930 Uncommited changes
931 ------------------
932
933 $ echo C > C
934 $ hg add C
935 $ hg rewind
936 abort: uncommitted changes
937 [255]