comparison tests/test-subrepo-svn.t @ 16530:e37199a1f9d4 stable

subrepo/svn: improve error message on missing files From: abort: failed to commit svn changes to: abort: cannot commit missing svn entries
author Patrick Mezard <patrick@mezard.eu>
date Thu, 26 Apr 2012 12:13:20 +0200
parents 3d5d204a08c7
children ae2664ee0223
comparison
equal deleted inserted replaced
16529:3d5d204a08c7 16530:e37199a1f9d4
123 missing svn file, commit should fail 123 missing svn file, commit should fail
124 124
125 $ rm s/alpha 125 $ rm s/alpha
126 $ hg commit --subrepos -m 'abort on missing file' 126 $ hg commit --subrepos -m 'abort on missing file'
127 committing subrepository s 127 committing subrepository s
128 abort: failed to commit svn changes 128 abort: cannot commit missing svn entries
129 [255] 129 [255]
130 $ svn revert s/alpha > /dev/null 130 $ svn revert s/alpha > /dev/null
131 131
132 add an unrelated revision in svn and update the subrepo to without 132 add an unrelated revision in svn and update the subrepo to without
133 bringing any changes. 133 bringing any changes.