--- a/tests/test-largefiles-misc.t Tue Nov 10 14:52:54 2015 -0800
+++ b/tests/test-largefiles-misc.t Tue Nov 10 15:08:56 2015 -0800
@@ -509,6 +509,18 @@
$ hg revert anotherlarge
$ hg st
? sub/anotherlarge.orig
+
+Test orig files go where we want them
+ $ echo moremore >> anotherlarge
+ $ hg revert anotherlarge -v --config 'ui.origbackuppath=.hg/origbackups'
+ creating directory: $TESTTMP/addrm2/.hg/origbackups/.hglf/sub
+ saving current version of ../.hglf/sub/anotherlarge as $TESTTMP/addrm2/.hg/origbackups/.hglf/sub/anotherlarge.orig
+ reverting ../.hglf/sub/anotherlarge (glob)
+ creating directory: $TESTTMP/addrm2/.hg/origbackups/sub
+ found 90c622cf65cebe75c5842f9136c459333faf392e in store
+ found 90c622cf65cebe75c5842f9136c459333faf392e in store
+ $ ls ../.hg/origbackups/sub
+ anotherlarge.orig
$ cd ..
Test glob logging from the root dir