Mercurial > hg
comparison tests/test-largefiles.t @ 15447:9910f60a37ee
tests: make (glob) on windows accept \ instead of /
Globbing is usually used for filenames, so on windows it is reasonable and very
convenient that glob patterns accepts '\' or '/' when the pattern specifies
'/'.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Mon, 07 Nov 2011 03:25:10 +0100 |
parents | c5c9ca3719f9 |
children | dd856380cce3 |
comparison
equal
deleted
inserted
replaced
15446:c5c9ca3719f9 | 15447:9910f60a37ee |
---|---|
183 large5 already a largefile | 183 large5 already a largefile |
184 $ mkdir sub2 | 184 $ mkdir sub2 |
185 $ echo large6 > sub2/large6 | 185 $ echo large6 > sub2/large6 |
186 $ echo large7 > sub2/large7 | 186 $ echo large7 > sub2/large7 |
187 $ hg add --large sub2 | 187 $ hg add --large sub2 |
188 adding sub2/large6 as a largefile | 188 adding sub2/large6 as a largefile (glob) |
189 adding sub2/large7 as a largefile | 189 adding sub2/large7 as a largefile (glob) |
190 $ hg st | 190 $ hg st |
191 M large3 | 191 M large3 |
192 A large5 | 192 A large5 |
193 A sub2/large6 | 193 A sub2/large6 |
194 A sub2/large7 | 194 A sub2/large7 |
348 adding manifests | 348 adding manifests |
349 adding file changes | 349 adding file changes |
350 added 1 changesets with 2 changes to 2 files (+1 heads) | 350 added 1 changesets with 2 changes to 2 files (+1 heads) |
351 getting changed largefiles | 351 getting changed largefiles |
352 1 largefiles updated, 0 removed | 352 1 largefiles updated, 0 removed |
353 saved backup bundle to $TESTTMP/d/.hg/strip-backup/f574fb32bb45-backup.hg | 353 saved backup bundle to $TESTTMP/d/.hg/strip-backup/f574fb32bb45-backup.hg (glob) |
354 nothing to rebase | 354 nothing to rebase |
355 $ hg log --template '{rev}:{node|short} {desc|firstline}\n' | 355 $ hg log --template '{rev}:{node|short} {desc|firstline}\n' |
356 9:598410d3eb9a modify normal file largefile in repo d | 356 9:598410d3eb9a modify normal file largefile in repo d |
357 8:a381d2c8c80e modify normal file and largefile in repo b | 357 8:a381d2c8c80e modify normal file and largefile in repo b |
358 7:daea875e9014 add/edit more largefiles | 358 7:daea875e9014 add/edit more largefiles |
383 added 1 changesets with 2 changes to 2 files (+1 heads) | 383 added 1 changesets with 2 changes to 2 files (+1 heads) |
384 (run 'hg heads' to see heads, 'hg merge' to merge) | 384 (run 'hg heads' to see heads, 'hg merge' to merge) |
385 $ hg rebase | 385 $ hg rebase |
386 getting changed largefiles | 386 getting changed largefiles |
387 1 largefiles updated, 0 removed | 387 1 largefiles updated, 0 removed |
388 saved backup bundle to $TESTTMP/e/.hg/strip-backup/f574fb32bb45-backup.hg | 388 saved backup bundle to $TESTTMP/e/.hg/strip-backup/f574fb32bb45-backup.hg (glob) |
389 $ hg log | 389 $ hg log |
390 changeset: 9:598410d3eb9a | 390 changeset: 9:598410d3eb9a |
391 tag: tip | 391 tag: tip |
392 user: test | 392 user: test |
393 date: Thu Jan 01 00:00:00 1970 +0000 | 393 date: Thu Jan 01 00:00:00 1970 +0000 |
553 $ echo new >> sub2/large8 | 553 $ echo new >> sub2/large8 |
554 $ hg add --large sub2/large8 | 554 $ hg add --large sub2/large8 |
555 # XXX we don't really want to report that we're reverting the standin; | 555 # XXX we don't really want to report that we're reverting the standin; |
556 # that's just an implementation detail. But I don't see an obvious fix. ;-( | 556 # that's just an implementation detail. But I don't see an obvious fix. ;-( |
557 $ hg revert sub | 557 $ hg revert sub |
558 reverting .hglf/sub/large4 | 558 reverting .hglf/sub/large4 (glob) |
559 reverting sub/normal4 | 559 reverting sub/normal4 (glob) |
560 $ hg status | 560 $ hg status |
561 M normal3 | 561 M normal3 |
562 A sub2/large8 | 562 A sub2/large8 |
563 R sub2/large6 | 563 R sub2/large6 |
564 ? sub/large4.orig | 564 ? sub/large4.orig |
566 $ cat sub/normal4 | 566 $ cat sub/normal4 |
567 normal4-modified | 567 normal4-modified |
568 $ cat sub/large4 | 568 $ cat sub/large4 |
569 large4-modified | 569 large4-modified |
570 $ hg revert -a --no-backup | 570 $ hg revert -a --no-backup |
571 undeleting .hglf/sub2/large6 | 571 undeleting .hglf/sub2/large6 (glob) |
572 forgetting .hglf/sub2/large8 | 572 forgetting .hglf/sub2/large8 (glob) |
573 reverting normal3 | 573 reverting normal3 |
574 $ hg status | 574 $ hg status |
575 ? sub/large4.orig | 575 ? sub/large4.orig |
576 ? sub/normal4.orig | 576 ? sub/normal4.orig |
577 ? sub2/large8 | 577 ? sub2/large8 |
581 large6-modified | 581 large6-modified |
582 $ rm sub/*.orig sub2/large8 | 582 $ rm sub/*.orig sub2/large8 |
583 | 583 |
584 revert some files to an older revision | 584 revert some files to an older revision |
585 $ hg revert --no-backup -r 8 sub2 | 585 $ hg revert --no-backup -r 8 sub2 |
586 reverting .hglf/sub2/large6 | 586 reverting .hglf/sub2/large6 (glob) |
587 $ cat sub2/large6 | 587 $ cat sub2/large6 |
588 large6 | 588 large6 |
589 $ hg revert --no-backup sub2 | 589 $ hg revert --no-backup sub2 |
590 reverting .hglf/sub2/large6 | 590 reverting .hglf/sub2/large6 (glob) |
591 $ hg status | 591 $ hg status |
592 | 592 |
593 "verify --large" actually verifies largefiles | 593 "verify --large" actually verifies largefiles |
594 | 594 |
595 $ hg verify --large | 595 $ hg verify --large |