Mercurial > hg
comparison tests/test-largefiles.t @ 18491:b7da9c042b9e stable
largefiles: fix cat when using relative paths from subdirectory
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Fri, 25 Jan 2013 18:20:13 +0100 |
parents | 877f80599df0 |
children | ef60083b5536 |
comparison
equal
deleted
inserted
replaced
18490:877f80599df0 | 18491:b7da9c042b9e |
---|---|
1410 $ rm cat.out | 1410 $ rm cat.out |
1411 $ hg cat -r a381d2c8c80e normal3 | 1411 $ hg cat -r a381d2c8c80e normal3 |
1412 normal3-modified | 1412 normal3-modified |
1413 $ hg cat -r '.^' normal3 | 1413 $ hg cat -r '.^' normal3 |
1414 normal3-modified | 1414 normal3-modified |
1415 $ hg cat -r '.^' sub/large4 | 1415 $ hg cat -r '.^' sub/large4 doesntexist |
1416 large4-modified | 1416 large4-modified |
1417 doesntexist: no such file in rev a381d2c8c80e | |
1418 [1] | |
1417 | 1419 |
1418 Test that renaming a largefile results in correct output for status | 1420 Test that renaming a largefile results in correct output for status |
1419 | 1421 |
1420 $ hg rename sub/large4 large4-renamed | 1422 $ hg rename sub/large4 large4-renamed |
1421 $ hg commit -m "test rename output" | 1423 $ hg commit -m "test rename output" |
2008 summary: anotherlarge | 2010 summary: anotherlarge |
2009 | 2011 |
2010 $ echo more >> anotherlarge | 2012 $ echo more >> anotherlarge |
2011 $ hg st . | 2013 $ hg st . |
2012 M anotherlarge | 2014 M anotherlarge |
2015 $ hg cat anotherlarge | |
2016 anotherlarge | |
2013 $ hg revert anotherlarge | 2017 $ hg revert anotherlarge |
2014 $ hg st | 2018 $ hg st |
2015 ? sub/anotherlarge.orig | 2019 ? sub/anotherlarge.orig |
2016 $ cd .. | 2020 $ cd .. |
2017 | 2021 |