From b2dfa52bb8e6aeb20dd6a9d397d3b87e71aa7a4e Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=81ukasz=20Rekucki?= Date: Tue, 22 Sep 2009 15:56:55 +0200 Subject: [PATCH 1/1] Sample repositories for RAL testing. --- .../cleanrepo => branched}/.hg/00changelog.i | Bin .../{repos/testrepoII => branched}/.hg/branch | 0 .../.hg/branchheads.cache | 0 .../testrepoII => branched}/.hg/dirstate | Bin .../cleanrepo => branched}/.hg/requires | 0 .../.hg/store/00changelog.i | Bin .../.hg/store/00manifest.i | Bin .../.hg/store/data/.hgignore.i | Bin .../.hg/store/data/ignored__file.i | Bin .../.hg/store/data/pub__polish__file.xml.i | Bin .../.hg/store/data/pub__valid__file.xml.i | Bin .../testrepoI => branched}/.hg/store/fncache | 0 .../testrepoII => branched}/.hg/store/undo | Bin .../testrepoII => branched}/.hg/undo.branch | 0 .../testrepoII => branched}/.hg/undo.dirstate | Bin .../{repos/cleanrepo => branched}/.hgignore | 0 .../cleanrepo => branched}/ignored_file | 0 .../pub_polish_file.xml | 0 .../testrepoI => branched}/pub_valid_file.xml | 0 .../testrepoI => branched2}/.hg/00changelog.i | Bin lib/wlrepo/tests/data/branched2/.hg/branch | 1 + .../data/branched2/.hg/branchheads.cache | 5 + lib/wlrepo/tests/data/branched2/.hg/dirstate | Bin 0 -> 166 bytes .../testrepoI => branched2}/.hg/requires | 0 .../data/branched2/.hg/store/00changelog.i | Bin 0 -> 1518 bytes .../data/branched2/.hg/store/00manifest.i | Bin 0 -> 1102 bytes .../.hg/store/data/.hgignore.i | Bin .../.hg/store/data/ignored__file.i | Bin .../branched2/.hg/store/data/pub__ala.xml.i | Bin 0 -> 153 bytes .../.hg/store/data/pub__polish__file.xml.i | Bin .../.hg/store/data/pub__valid__file.xml.i | Bin .../tests/data/branched2/.hg/store/fncache | 5 + .../tests/data/branched2/.hg/store/undo | Bin 0 -> 58 bytes .../tests/data/branched2/.hg/undo.branch | 1 + .../tests/data/branched2/.hg/undo.dirstate | Bin 0 -> 194 bytes .../{repos/testrepoI => branched2}/.hgignore | 0 .../testrepoI => branched2}/ignored_file | 0 .../pub_polish_file.xml | 0 .../pub_valid_file.xml | 0 .../testrepoII => clean}/.hg/00changelog.i | Bin .../{repos/cleanrepo => clean}/.hg/dirstate | Bin .../{repos/testrepoII => clean}/.hg/requires | 0 .../.hg/store/00changelog.i | Bin .../.hg/store/00manifest.i | Bin .../.hg/store/data/.hgignore.i | Bin .../.hg/store/data/ignored__file.i | Bin .../.hg/store/data/pub__valid__file.xml.i | Bin .../cleanrepo => clean}/.hg/store/fncache | 0 .../{repos/cleanrepo => clean}/.hg/store/undo | Bin .../cleanrepo => clean}/.hg/undo.branch | 0 .../cleanrepo => clean}/.hg/undo.dirstate | Bin .../{repos/testrepoII => clean}/.hgignore | 0 .../{repos/testrepoII => clean}/ignored_file | 0 .../cleanrepo => clean}/pub_valid_file.xml | 0 .../tests/data/merged/.hg/00changelog.i | Bin 0 -> 57 bytes lib/wlrepo/tests/data/merged/.hg/branch | 1 + .../tests/data/merged/.hg/branchheads.cache | 5 + lib/wlrepo/tests/data/merged/.hg/dirstate | Bin 0 -> 194 bytes lib/wlrepo/tests/data/merged/.hg/requires | 3 + .../tests/data/merged/.hg/store/00changelog.i | Bin 0 -> 1687 bytes .../tests/data/merged/.hg/store/00manifest.i | Bin 0 -> 1166 bytes .../data/merged/.hg/store/data/.hgignore.i | Bin 0 -> 64 bytes .../merged/.hg/store/data/ignored__file.i | Bin 0 -> 64 bytes .../data/merged/.hg/store/data/pub__ala.xml.i | Bin 0 -> 153 bytes .../.hg/store/data/pub__polish__file.xml.i | Bin 0 -> 73 bytes .../.hg/store/data/pub__valid__file.xml.i | Bin 0 -> 152 bytes .../tests/data/merged/.hg/store/fncache | 5 + lib/wlrepo/tests/data/merged/.hg/store/undo | Bin 0 -> 37 bytes .../testrepoI => merged}/.hg/undo.branch | 0 .../tests/data/merged/.hg/undo.dirstate | Bin 0 -> 194 bytes lib/wlrepo/tests/data/merged/.hgignore | 0 lib/wlrepo/tests/data/merged/ignored_file | 0 lib/wlrepo/tests/data/merged/pub_ala.xml | 1 + .../tests/data/merged/pub_polish_file.xml | 1 + .../tests/data/merged/pub_valid_file.xml | 1 + .../.hg/00changelog.i | Bin 0 -> 57 bytes .../data/merged_with_local_commit/.hg/branch | 1 + .../.hg/branchheads.cache | 5 + .../merged_with_local_commit/.hg/dirstate | Bin 0 -> 194 bytes .../merged_with_local_commit/.hg/requires | 3 + .../.hg/store/00changelog.i | Bin 0 -> 1891 bytes .../.hg/store/00manifest.i | Bin 0 -> 1295 bytes .../.hg/store/data/.hgignore.i | Bin 0 -> 64 bytes .../.hg/store/data/ignored__file.i | Bin 0 -> 64 bytes .../.hg/store/data/pub__ala.xml.i | Bin 0 -> 239 bytes .../.hg/store/data/pub__polish__file.xml.i | Bin 0 -> 73 bytes .../.hg/store/data/pub__valid__file.xml.i | Bin 0 -> 152 bytes .../.hg/store/fncache | 5 + .../merged_with_local_commit/.hg/store/undo | Bin 0 -> 60 bytes .../merged_with_local_commit/.hg/undo.branch | 1 + .../.hg/undo.dirstate | Bin 0 -> 194 bytes .../data/merged_with_local_commit/.hgignore | 0 .../merged_with_local_commit/ignored_file | 0 .../data/merged_with_local_commit/pub_ala.xml | 1 + .../pub_polish_file.xml | 1 + .../pub_valid_file.xml | 1 + .../tests/data/simple/.hg/00changelog.i | Bin 0 -> 57 bytes .../{repos/testrepoI => simple}/.hg/dirstate | Bin lib/wlrepo/tests/data/simple/.hg/requires | 3 + .../.hg/store/00changelog.i | Bin .../.hg/store/00manifest.i | Bin .../data/simple/.hg/store/data/.hgignore.i | Bin 0 -> 64 bytes .../simple/.hg/store/data/ignored__file.i | Bin 0 -> 64 bytes .../.hg/store/data/pub__polish__file.xml.i | Bin 0 -> 73 bytes .../.hg/store/data/pub__valid__file.xml.i | Bin 0 -> 152 bytes .../testrepoII => simple}/.hg/store/fncache | 0 .../testrepoI => simple}/.hg/store/undo | Bin lib/wlrepo/tests/data/simple/.hg/undo.branch | 1 + .../testrepoI => simple}/.hg/undo.dirstate | Bin lib/wlrepo/tests/data/simple/.hgignore | 0 lib/wlrepo/tests/data/simple/ignored_file | 0 .../tests/data/simple/pub_polish_file.xml | 1 + .../tests/data/simple/pub_valid_file.xml | 1 + lib/wlrepo/tests/data/test5/.hg/00changelog.i | Bin 0 -> 57 bytes lib/wlrepo/tests/data/test5/.hg/branch | 1 + .../tests/data/test5/.hg/branchheads.cache | 5 + lib/wlrepo/tests/data/test5/.hg/dirstate | Bin 0 -> 194 bytes lib/wlrepo/tests/data/test5/.hg/requires | 3 + .../tests/data/test5/.hg/store/00changelog.i | Bin 0 -> 1869 bytes .../tests/data/test5/.hg/store/00manifest.i | Bin 0 -> 1295 bytes .../data/test5/.hg/store/data/.hgignore.i | Bin 0 -> 64 bytes .../data/test5/.hg/store/data/ignored__file.i | Bin 0 -> 64 bytes .../data/test5/.hg/store/data/pub__ala.xml.i | Bin 0 -> 244 bytes .../.hg/store/data/pub__polish__file.xml.i | Bin 0 -> 73 bytes .../.hg/store/data/pub__valid__file.xml.i | Bin 0 -> 152 bytes lib/wlrepo/tests/data/test5/.hg/store/fncache | 5 + lib/wlrepo/tests/data/test5/.hg/store/undo | Bin 0 -> 60 bytes lib/wlrepo/tests/data/test5/.hg/undo.branch | 1 + lib/wlrepo/tests/data/test5/.hg/undo.dirstate | Bin 0 -> 194 bytes lib/wlrepo/tests/data/test5/.hgignore | 0 lib/wlrepo/tests/data/test5/ignored_file | 0 lib/wlrepo/tests/data/test5/pub_ala.xml | 1 + .../tests/data/test5/pub_polish_file.xml | 1 + .../tests/data/test5/pub_valid_file.xml | 1 + .../tests/data/test5c/.hg/00changelog.i | Bin 0 -> 57 bytes lib/wlrepo/tests/data/test5c/.hg/branch | 1 + .../tests/data/test5c/.hg/branchheads.cache | 5 + lib/wlrepo/tests/data/test5c/.hg/dirstate | Bin 0 -> 194 bytes lib/wlrepo/tests/data/test5c/.hg/requires | 3 + .../tests/data/test5c/.hg/store/00changelog.i | Bin 0 -> 2087 bytes .../tests/data/test5c/.hg/store/00manifest.i | Bin 0 -> 1424 bytes .../data/test5c/.hg/store/data/.hgignore.i | Bin 0 -> 64 bytes .../test5c/.hg/store/data/ignored__file.i | Bin 0 -> 64 bytes .../data/test5c/.hg/store/data/pub__ala.xml.i | Bin 0 -> 360 bytes .../.hg/store/data/pub__polish__file.xml.i | Bin 0 -> 73 bytes .../.hg/store/data/pub__valid__file.xml.i | Bin 0 -> 152 bytes .../tests/data/test5c/.hg/store/fncache | 5 + lib/wlrepo/tests/data/test5c/.hg/store/undo | Bin 0 -> 60 bytes lib/wlrepo/tests/data/test5c/.hg/undo.branch | 1 + .../tests/data/test5c/.hg/undo.dirstate | Bin 0 -> 194 bytes lib/wlrepo/tests/data/test5c/.hgignore | 0 lib/wlrepo/tests/data/test5c/ignored_file | 0 lib/wlrepo/tests/data/test5c/pub_ala.xml | 1 + .../tests/data/test5c/pub_polish_file.xml | 1 + .../tests/data/test5c/pub_valid_file.xml | 1 + .../tests/data/test6-update/.hg/00changelog.i | Bin 0 -> 57 bytes lib/wlrepo/tests/data/test6-update/.hg/branch | 1 + .../data/test6-update/.hg/branchheads.cache | 5 + .../tests/data/test6-update/.hg/dirstate | Bin 0 -> 129 bytes .../tests/data/test6-update/.hg/requires | 3 + .../data/test6-update/.hg/store/00changelog.i | Bin 0 -> 2291 bytes .../data/test6-update/.hg/store/00manifest.i | Bin 0 -> 1618 bytes .../test6-update/.hg/store/data/.hgignore.i | Bin 0 -> 64 bytes .../.hg/store/data/ignored__file.i | Bin 0 -> 64 bytes .../.hg/store/data/pub__ala.xml.i | Bin 0 -> 360 bytes .../.hg/store/data/pub__polish__file.xml.i | Bin 0 -> 73 bytes .../.hg/store/data/pub__valid__file.xml.i | Bin 0 -> 152 bytes .../tests/data/test6-update/.hg/store/fncache | 5 + .../tests/data/test6-update/.hg/store/undo | Bin 0 -> 37 bytes .../tests/data/test6-update/.hg/undo.branch | 1 + .../tests/data/test6-update/.hg/undo.dirstate | Bin 0 -> 194 bytes lib/wlrepo/tests/data/test6-update/.hgignore | 0 .../tests/data/test6-update/pub_ala.xml | 1 + .../data/test6-update/pub_valid_file.xml | 1 + lib/wlrepo/tests/test_mercurial.py | 412 +++++++++--------- 175 files changed, 309 insertions(+), 209 deletions(-) rename lib/wlrepo/tests/data/{repos/cleanrepo => branched}/.hg/00changelog.i (100%) rename lib/wlrepo/tests/data/{repos/testrepoII => branched}/.hg/branch (100%) rename lib/wlrepo/tests/data/{repos/testrepoII => branched}/.hg/branchheads.cache (100%) rename lib/wlrepo/tests/data/{repos/testrepoII => branched}/.hg/dirstate (100%) rename lib/wlrepo/tests/data/{repos/cleanrepo => branched}/.hg/requires (100%) rename lib/wlrepo/tests/data/{repos/testrepoII => branched}/.hg/store/00changelog.i (100%) rename lib/wlrepo/tests/data/{repos/testrepoII => branched}/.hg/store/00manifest.i (100%) rename lib/wlrepo/tests/data/{repos/cleanrepo => branched}/.hg/store/data/.hgignore.i (100%) rename lib/wlrepo/tests/data/{repos/cleanrepo => branched}/.hg/store/data/ignored__file.i (100%) rename lib/wlrepo/tests/data/{repos/testrepoI => branched}/.hg/store/data/pub__polish__file.xml.i (100%) rename lib/wlrepo/tests/data/{repos/testrepoI => branched}/.hg/store/data/pub__valid__file.xml.i (100%) rename lib/wlrepo/tests/data/{repos/testrepoI => branched}/.hg/store/fncache (100%) rename lib/wlrepo/tests/data/{repos/testrepoII => branched}/.hg/store/undo (100%) rename lib/wlrepo/tests/data/{repos/testrepoII => branched}/.hg/undo.branch (100%) rename lib/wlrepo/tests/data/{repos/testrepoII => branched}/.hg/undo.dirstate (100%) rename lib/wlrepo/tests/data/{repos/cleanrepo => branched}/.hgignore (100%) rename lib/wlrepo/tests/data/{repos/cleanrepo => branched}/ignored_file (100%) rename lib/wlrepo/tests/data/{repos/testrepoI => branched}/pub_polish_file.xml (100%) rename lib/wlrepo/tests/data/{repos/testrepoI => branched}/pub_valid_file.xml (100%) rename lib/wlrepo/tests/data/{repos/testrepoI => branched2}/.hg/00changelog.i (100%) create mode 100644 lib/wlrepo/tests/data/branched2/.hg/branch create mode 100644 lib/wlrepo/tests/data/branched2/.hg/branchheads.cache create mode 100644 lib/wlrepo/tests/data/branched2/.hg/dirstate rename lib/wlrepo/tests/data/{repos/testrepoI => branched2}/.hg/requires (100%) create mode 100644 lib/wlrepo/tests/data/branched2/.hg/store/00changelog.i create mode 100644 lib/wlrepo/tests/data/branched2/.hg/store/00manifest.i rename lib/wlrepo/tests/data/{repos/testrepoI => branched2}/.hg/store/data/.hgignore.i (100%) rename lib/wlrepo/tests/data/{repos/testrepoI => branched2}/.hg/store/data/ignored__file.i (100%) create mode 100644 lib/wlrepo/tests/data/branched2/.hg/store/data/pub__ala.xml.i rename lib/wlrepo/tests/data/{repos/testrepoII => branched2}/.hg/store/data/pub__polish__file.xml.i (100%) rename lib/wlrepo/tests/data/{repos/testrepoII => branched2}/.hg/store/data/pub__valid__file.xml.i (100%) create mode 100644 lib/wlrepo/tests/data/branched2/.hg/store/fncache create mode 100644 lib/wlrepo/tests/data/branched2/.hg/store/undo create mode 100644 lib/wlrepo/tests/data/branched2/.hg/undo.branch create mode 100644 lib/wlrepo/tests/data/branched2/.hg/undo.dirstate rename lib/wlrepo/tests/data/{repos/testrepoI => branched2}/.hgignore (100%) rename lib/wlrepo/tests/data/{repos/testrepoI => branched2}/ignored_file (100%) rename lib/wlrepo/tests/data/{repos/testrepoII => branched2}/pub_polish_file.xml (100%) rename lib/wlrepo/tests/data/{repos/testrepoII => branched2}/pub_valid_file.xml (100%) rename lib/wlrepo/tests/data/{repos/testrepoII => clean}/.hg/00changelog.i (100%) rename lib/wlrepo/tests/data/{repos/cleanrepo => clean}/.hg/dirstate (100%) rename lib/wlrepo/tests/data/{repos/testrepoII => clean}/.hg/requires (100%) rename lib/wlrepo/tests/data/{repos/cleanrepo => clean}/.hg/store/00changelog.i (100%) rename lib/wlrepo/tests/data/{repos/cleanrepo => clean}/.hg/store/00manifest.i (100%) rename lib/wlrepo/tests/data/{repos/testrepoII => clean}/.hg/store/data/.hgignore.i (100%) rename lib/wlrepo/tests/data/{repos/testrepoII => clean}/.hg/store/data/ignored__file.i (100%) rename lib/wlrepo/tests/data/{repos/cleanrepo => clean}/.hg/store/data/pub__valid__file.xml.i (100%) rename lib/wlrepo/tests/data/{repos/cleanrepo => clean}/.hg/store/fncache (100%) rename lib/wlrepo/tests/data/{repos/cleanrepo => clean}/.hg/store/undo (100%) rename lib/wlrepo/tests/data/{repos/cleanrepo => clean}/.hg/undo.branch (100%) rename lib/wlrepo/tests/data/{repos/cleanrepo => clean}/.hg/undo.dirstate (100%) rename lib/wlrepo/tests/data/{repos/testrepoII => clean}/.hgignore (100%) rename lib/wlrepo/tests/data/{repos/testrepoII => clean}/ignored_file (100%) rename lib/wlrepo/tests/data/{repos/cleanrepo => clean}/pub_valid_file.xml (100%) create mode 100644 lib/wlrepo/tests/data/merged/.hg/00changelog.i create mode 100644 lib/wlrepo/tests/data/merged/.hg/branch create mode 100644 lib/wlrepo/tests/data/merged/.hg/branchheads.cache create mode 100644 lib/wlrepo/tests/data/merged/.hg/dirstate create mode 100644 lib/wlrepo/tests/data/merged/.hg/requires create mode 100644 lib/wlrepo/tests/data/merged/.hg/store/00changelog.i create mode 100644 lib/wlrepo/tests/data/merged/.hg/store/00manifest.i create mode 100644 lib/wlrepo/tests/data/merged/.hg/store/data/.hgignore.i create mode 100644 lib/wlrepo/tests/data/merged/.hg/store/data/ignored__file.i create mode 100644 lib/wlrepo/tests/data/merged/.hg/store/data/pub__ala.xml.i create mode 100644 lib/wlrepo/tests/data/merged/.hg/store/data/pub__polish__file.xml.i create mode 100644 lib/wlrepo/tests/data/merged/.hg/store/data/pub__valid__file.xml.i create mode 100644 lib/wlrepo/tests/data/merged/.hg/store/fncache create mode 100644 lib/wlrepo/tests/data/merged/.hg/store/undo rename lib/wlrepo/tests/data/{repos/testrepoI => merged}/.hg/undo.branch (100%) create mode 100644 lib/wlrepo/tests/data/merged/.hg/undo.dirstate create mode 100644 lib/wlrepo/tests/data/merged/.hgignore create mode 100644 lib/wlrepo/tests/data/merged/ignored_file create mode 100644 lib/wlrepo/tests/data/merged/pub_ala.xml create mode 100644 lib/wlrepo/tests/data/merged/pub_polish_file.xml create mode 100644 lib/wlrepo/tests/data/merged/pub_valid_file.xml create mode 100644 lib/wlrepo/tests/data/merged_with_local_commit/.hg/00changelog.i create mode 100644 lib/wlrepo/tests/data/merged_with_local_commit/.hg/branch create mode 100644 lib/wlrepo/tests/data/merged_with_local_commit/.hg/branchheads.cache create mode 100644 lib/wlrepo/tests/data/merged_with_local_commit/.hg/dirstate create mode 100644 lib/wlrepo/tests/data/merged_with_local_commit/.hg/requires create mode 100644 lib/wlrepo/tests/data/merged_with_local_commit/.hg/store/00changelog.i create mode 100644 lib/wlrepo/tests/data/merged_with_local_commit/.hg/store/00manifest.i create mode 100644 lib/wlrepo/tests/data/merged_with_local_commit/.hg/store/data/.hgignore.i create mode 100644 lib/wlrepo/tests/data/merged_with_local_commit/.hg/store/data/ignored__file.i create mode 100644 lib/wlrepo/tests/data/merged_with_local_commit/.hg/store/data/pub__ala.xml.i create mode 100644 lib/wlrepo/tests/data/merged_with_local_commit/.hg/store/data/pub__polish__file.xml.i create mode 100644 lib/wlrepo/tests/data/merged_with_local_commit/.hg/store/data/pub__valid__file.xml.i create mode 100644 lib/wlrepo/tests/data/merged_with_local_commit/.hg/store/fncache create mode 100644 lib/wlrepo/tests/data/merged_with_local_commit/.hg/store/undo create mode 100644 lib/wlrepo/tests/data/merged_with_local_commit/.hg/undo.branch create mode 100644 lib/wlrepo/tests/data/merged_with_local_commit/.hg/undo.dirstate create mode 100644 lib/wlrepo/tests/data/merged_with_local_commit/.hgignore create mode 100644 lib/wlrepo/tests/data/merged_with_local_commit/ignored_file create mode 100644 lib/wlrepo/tests/data/merged_with_local_commit/pub_ala.xml create mode 100644 lib/wlrepo/tests/data/merged_with_local_commit/pub_polish_file.xml create mode 100644 lib/wlrepo/tests/data/merged_with_local_commit/pub_valid_file.xml create mode 100644 lib/wlrepo/tests/data/simple/.hg/00changelog.i rename lib/wlrepo/tests/data/{repos/testrepoI => simple}/.hg/dirstate (100%) create mode 100644 lib/wlrepo/tests/data/simple/.hg/requires rename lib/wlrepo/tests/data/{repos/testrepoI => simple}/.hg/store/00changelog.i (100%) rename lib/wlrepo/tests/data/{repos/testrepoI => simple}/.hg/store/00manifest.i (100%) create mode 100644 lib/wlrepo/tests/data/simple/.hg/store/data/.hgignore.i create mode 100644 lib/wlrepo/tests/data/simple/.hg/store/data/ignored__file.i create mode 100644 lib/wlrepo/tests/data/simple/.hg/store/data/pub__polish__file.xml.i create mode 100644 lib/wlrepo/tests/data/simple/.hg/store/data/pub__valid__file.xml.i rename lib/wlrepo/tests/data/{repos/testrepoII => simple}/.hg/store/fncache (100%) rename lib/wlrepo/tests/data/{repos/testrepoI => simple}/.hg/store/undo (100%) create mode 100644 lib/wlrepo/tests/data/simple/.hg/undo.branch rename lib/wlrepo/tests/data/{repos/testrepoI => simple}/.hg/undo.dirstate (100%) create mode 100644 lib/wlrepo/tests/data/simple/.hgignore create mode 100644 lib/wlrepo/tests/data/simple/ignored_file create mode 100644 lib/wlrepo/tests/data/simple/pub_polish_file.xml create mode 100644 lib/wlrepo/tests/data/simple/pub_valid_file.xml create mode 100644 lib/wlrepo/tests/data/test5/.hg/00changelog.i create mode 100644 lib/wlrepo/tests/data/test5/.hg/branch create mode 100644 lib/wlrepo/tests/data/test5/.hg/branchheads.cache create mode 100644 lib/wlrepo/tests/data/test5/.hg/dirstate create mode 100644 lib/wlrepo/tests/data/test5/.hg/requires create mode 100644 lib/wlrepo/tests/data/test5/.hg/store/00changelog.i create mode 100644 lib/wlrepo/tests/data/test5/.hg/store/00manifest.i create mode 100644 lib/wlrepo/tests/data/test5/.hg/store/data/.hgignore.i create mode 100644 lib/wlrepo/tests/data/test5/.hg/store/data/ignored__file.i create mode 100644 lib/wlrepo/tests/data/test5/.hg/store/data/pub__ala.xml.i create mode 100644 lib/wlrepo/tests/data/test5/.hg/store/data/pub__polish__file.xml.i create mode 100644 lib/wlrepo/tests/data/test5/.hg/store/data/pub__valid__file.xml.i create mode 100644 lib/wlrepo/tests/data/test5/.hg/store/fncache create mode 100644 lib/wlrepo/tests/data/test5/.hg/store/undo create mode 100644 lib/wlrepo/tests/data/test5/.hg/undo.branch create mode 100644 lib/wlrepo/tests/data/test5/.hg/undo.dirstate create mode 100644 lib/wlrepo/tests/data/test5/.hgignore create mode 100644 lib/wlrepo/tests/data/test5/ignored_file create mode 100644 lib/wlrepo/tests/data/test5/pub_ala.xml create mode 100644 lib/wlrepo/tests/data/test5/pub_polish_file.xml create mode 100644 lib/wlrepo/tests/data/test5/pub_valid_file.xml create mode 100644 lib/wlrepo/tests/data/test5c/.hg/00changelog.i create mode 100644 lib/wlrepo/tests/data/test5c/.hg/branch create mode 100644 lib/wlrepo/tests/data/test5c/.hg/branchheads.cache create mode 100644 lib/wlrepo/tests/data/test5c/.hg/dirstate create mode 100644 lib/wlrepo/tests/data/test5c/.hg/requires create mode 100644 lib/wlrepo/tests/data/test5c/.hg/store/00changelog.i create mode 100644 lib/wlrepo/tests/data/test5c/.hg/store/00manifest.i create mode 100644 lib/wlrepo/tests/data/test5c/.hg/store/data/.hgignore.i create mode 100644 lib/wlrepo/tests/data/test5c/.hg/store/data/ignored__file.i create mode 100644 lib/wlrepo/tests/data/test5c/.hg/store/data/pub__ala.xml.i create mode 100644 lib/wlrepo/tests/data/test5c/.hg/store/data/pub__polish__file.xml.i create mode 100644 lib/wlrepo/tests/data/test5c/.hg/store/data/pub__valid__file.xml.i create mode 100644 lib/wlrepo/tests/data/test5c/.hg/store/fncache create mode 100644 lib/wlrepo/tests/data/test5c/.hg/store/undo create mode 100644 lib/wlrepo/tests/data/test5c/.hg/undo.branch create mode 100644 lib/wlrepo/tests/data/test5c/.hg/undo.dirstate create mode 100644 lib/wlrepo/tests/data/test5c/.hgignore create mode 100644 lib/wlrepo/tests/data/test5c/ignored_file create mode 100644 lib/wlrepo/tests/data/test5c/pub_ala.xml create mode 100644 lib/wlrepo/tests/data/test5c/pub_polish_file.xml create mode 100644 lib/wlrepo/tests/data/test5c/pub_valid_file.xml create mode 100644 lib/wlrepo/tests/data/test6-update/.hg/00changelog.i create mode 100644 lib/wlrepo/tests/data/test6-update/.hg/branch create mode 100644 lib/wlrepo/tests/data/test6-update/.hg/branchheads.cache create mode 100644 lib/wlrepo/tests/data/test6-update/.hg/dirstate create mode 100644 lib/wlrepo/tests/data/test6-update/.hg/requires create mode 100644 lib/wlrepo/tests/data/test6-update/.hg/store/00changelog.i create mode 100644 lib/wlrepo/tests/data/test6-update/.hg/store/00manifest.i create mode 100644 lib/wlrepo/tests/data/test6-update/.hg/store/data/.hgignore.i create mode 100644 lib/wlrepo/tests/data/test6-update/.hg/store/data/ignored__file.i create mode 100644 lib/wlrepo/tests/data/test6-update/.hg/store/data/pub__ala.xml.i create mode 100644 lib/wlrepo/tests/data/test6-update/.hg/store/data/pub__polish__file.xml.i create mode 100644 lib/wlrepo/tests/data/test6-update/.hg/store/data/pub__valid__file.xml.i create mode 100644 lib/wlrepo/tests/data/test6-update/.hg/store/fncache create mode 100644 lib/wlrepo/tests/data/test6-update/.hg/store/undo create mode 100644 lib/wlrepo/tests/data/test6-update/.hg/undo.branch create mode 100644 lib/wlrepo/tests/data/test6-update/.hg/undo.dirstate create mode 100644 lib/wlrepo/tests/data/test6-update/.hgignore create mode 100644 lib/wlrepo/tests/data/test6-update/pub_ala.xml create mode 100644 lib/wlrepo/tests/data/test6-update/pub_valid_file.xml diff --git a/lib/wlrepo/tests/data/repos/cleanrepo/.hg/00changelog.i b/lib/wlrepo/tests/data/branched/.hg/00changelog.i similarity index 100% rename from lib/wlrepo/tests/data/repos/cleanrepo/.hg/00changelog.i rename to lib/wlrepo/tests/data/branched/.hg/00changelog.i diff --git a/lib/wlrepo/tests/data/repos/testrepoII/.hg/branch b/lib/wlrepo/tests/data/branched/.hg/branch similarity index 100% rename from lib/wlrepo/tests/data/repos/testrepoII/.hg/branch rename to lib/wlrepo/tests/data/branched/.hg/branch diff --git a/lib/wlrepo/tests/data/repos/testrepoII/.hg/branchheads.cache b/lib/wlrepo/tests/data/branched/.hg/branchheads.cache similarity index 100% rename from lib/wlrepo/tests/data/repos/testrepoII/.hg/branchheads.cache rename to lib/wlrepo/tests/data/branched/.hg/branchheads.cache diff --git a/lib/wlrepo/tests/data/repos/testrepoII/.hg/dirstate b/lib/wlrepo/tests/data/branched/.hg/dirstate similarity index 100% rename from lib/wlrepo/tests/data/repos/testrepoII/.hg/dirstate rename to lib/wlrepo/tests/data/branched/.hg/dirstate diff --git a/lib/wlrepo/tests/data/repos/cleanrepo/.hg/requires b/lib/wlrepo/tests/data/branched/.hg/requires similarity index 100% rename from lib/wlrepo/tests/data/repos/cleanrepo/.hg/requires rename to lib/wlrepo/tests/data/branched/.hg/requires diff --git a/lib/wlrepo/tests/data/repos/testrepoII/.hg/store/00changelog.i b/lib/wlrepo/tests/data/branched/.hg/store/00changelog.i similarity index 100% rename from lib/wlrepo/tests/data/repos/testrepoII/.hg/store/00changelog.i rename to lib/wlrepo/tests/data/branched/.hg/store/00changelog.i diff --git a/lib/wlrepo/tests/data/repos/testrepoII/.hg/store/00manifest.i b/lib/wlrepo/tests/data/branched/.hg/store/00manifest.i similarity index 100% rename from lib/wlrepo/tests/data/repos/testrepoII/.hg/store/00manifest.i rename to lib/wlrepo/tests/data/branched/.hg/store/00manifest.i diff --git a/lib/wlrepo/tests/data/repos/cleanrepo/.hg/store/data/.hgignore.i b/lib/wlrepo/tests/data/branched/.hg/store/data/.hgignore.i similarity index 100% rename from lib/wlrepo/tests/data/repos/cleanrepo/.hg/store/data/.hgignore.i rename to lib/wlrepo/tests/data/branched/.hg/store/data/.hgignore.i diff --git a/lib/wlrepo/tests/data/repos/cleanrepo/.hg/store/data/ignored__file.i b/lib/wlrepo/tests/data/branched/.hg/store/data/ignored__file.i similarity index 100% rename from lib/wlrepo/tests/data/repos/cleanrepo/.hg/store/data/ignored__file.i rename to lib/wlrepo/tests/data/branched/.hg/store/data/ignored__file.i diff --git a/lib/wlrepo/tests/data/repos/testrepoI/.hg/store/data/pub__polish__file.xml.i b/lib/wlrepo/tests/data/branched/.hg/store/data/pub__polish__file.xml.i similarity index 100% rename from lib/wlrepo/tests/data/repos/testrepoI/.hg/store/data/pub__polish__file.xml.i rename to lib/wlrepo/tests/data/branched/.hg/store/data/pub__polish__file.xml.i diff --git a/lib/wlrepo/tests/data/repos/testrepoI/.hg/store/data/pub__valid__file.xml.i b/lib/wlrepo/tests/data/branched/.hg/store/data/pub__valid__file.xml.i similarity index 100% rename from lib/wlrepo/tests/data/repos/testrepoI/.hg/store/data/pub__valid__file.xml.i rename to lib/wlrepo/tests/data/branched/.hg/store/data/pub__valid__file.xml.i diff --git a/lib/wlrepo/tests/data/repos/testrepoI/.hg/store/fncache b/lib/wlrepo/tests/data/branched/.hg/store/fncache similarity index 100% rename from lib/wlrepo/tests/data/repos/testrepoI/.hg/store/fncache rename to lib/wlrepo/tests/data/branched/.hg/store/fncache diff --git a/lib/wlrepo/tests/data/repos/testrepoII/.hg/store/undo b/lib/wlrepo/tests/data/branched/.hg/store/undo similarity index 100% rename from lib/wlrepo/tests/data/repos/testrepoII/.hg/store/undo rename to lib/wlrepo/tests/data/branched/.hg/store/undo diff --git a/lib/wlrepo/tests/data/repos/testrepoII/.hg/undo.branch b/lib/wlrepo/tests/data/branched/.hg/undo.branch similarity index 100% rename from lib/wlrepo/tests/data/repos/testrepoII/.hg/undo.branch rename to lib/wlrepo/tests/data/branched/.hg/undo.branch diff --git a/lib/wlrepo/tests/data/repos/testrepoII/.hg/undo.dirstate b/lib/wlrepo/tests/data/branched/.hg/undo.dirstate similarity index 100% rename from lib/wlrepo/tests/data/repos/testrepoII/.hg/undo.dirstate rename to lib/wlrepo/tests/data/branched/.hg/undo.dirstate diff --git a/lib/wlrepo/tests/data/repos/cleanrepo/.hgignore b/lib/wlrepo/tests/data/branched/.hgignore similarity index 100% rename from lib/wlrepo/tests/data/repos/cleanrepo/.hgignore rename to lib/wlrepo/tests/data/branched/.hgignore diff --git a/lib/wlrepo/tests/data/repos/cleanrepo/ignored_file b/lib/wlrepo/tests/data/branched/ignored_file similarity index 100% rename from lib/wlrepo/tests/data/repos/cleanrepo/ignored_file rename to lib/wlrepo/tests/data/branched/ignored_file diff --git a/lib/wlrepo/tests/data/repos/testrepoI/pub_polish_file.xml b/lib/wlrepo/tests/data/branched/pub_polish_file.xml similarity index 100% rename from lib/wlrepo/tests/data/repos/testrepoI/pub_polish_file.xml rename to lib/wlrepo/tests/data/branched/pub_polish_file.xml diff --git a/lib/wlrepo/tests/data/repos/testrepoI/pub_valid_file.xml b/lib/wlrepo/tests/data/branched/pub_valid_file.xml similarity index 100% rename from lib/wlrepo/tests/data/repos/testrepoI/pub_valid_file.xml rename to lib/wlrepo/tests/data/branched/pub_valid_file.xml diff --git a/lib/wlrepo/tests/data/repos/testrepoI/.hg/00changelog.i b/lib/wlrepo/tests/data/branched2/.hg/00changelog.i similarity index 100% rename from lib/wlrepo/tests/data/repos/testrepoI/.hg/00changelog.i rename to lib/wlrepo/tests/data/branched2/.hg/00changelog.i diff --git a/lib/wlrepo/tests/data/branched2/.hg/branch b/lib/wlrepo/tests/data/branched2/.hg/branch new file mode 100644 index 00000000..4ad96d51 --- /dev/null +++ b/lib/wlrepo/tests/data/branched2/.hg/branch @@ -0,0 +1 @@ +default diff --git a/lib/wlrepo/tests/data/branched2/.hg/branchheads.cache b/lib/wlrepo/tests/data/branched2/.hg/branchheads.cache new file mode 100644 index 00000000..87464e7d --- /dev/null +++ b/lib/wlrepo/tests/data/branched2/.hg/branchheads.cache @@ -0,0 +1,5 @@ +9208a537d2f003ccc46a90595e7f0801c6b64d45 7 +26ecd403388cce326f6ca1e32625db0651900eb7 default +34d4aa807563b28774bcbe07f6acbb984aa4dc8d personal_tester_valid_file +9208a537d2f003ccc46a90595e7f0801c6b64d45 personal_admin_file_ala +e0fbb8dc3f54c34581848d59a215d1d222a9e891 personal_tester_file_valid_file diff --git a/lib/wlrepo/tests/data/branched2/.hg/dirstate b/lib/wlrepo/tests/data/branched2/.hg/dirstate new file mode 100644 index 0000000000000000000000000000000000000000..0f0112fbc70e1346992d3e514febc93808b37597 GIT binary patch literal 166 zcmY#;bA{QW=bTY~&cerPs<+t!C-7}&zyk6Z7#f!V#d*B8w}${}p@Pz+__D;D%#`@F v%$!ucirgHS5(cOePQ8ru%=EncqEwg+2UJEFq`4qJC$l&Mr*0mIR*3NcYWglX literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/repos/testrepoI/.hg/requires b/lib/wlrepo/tests/data/branched2/.hg/requires similarity index 100% rename from lib/wlrepo/tests/data/repos/testrepoI/.hg/requires rename to lib/wlrepo/tests/data/branched2/.hg/requires diff --git a/lib/wlrepo/tests/data/branched2/.hg/store/00changelog.i b/lib/wlrepo/tests/data/branched2/.hg/store/00changelog.i new file mode 100644 index 0000000000000000000000000000000000000000..d518124622c392c263099afc8d1a18fa0da40649 GIT binary patch literal 1518 zcmX|=3pCSh9LN9L3}HLEcsb#Hr_7}g(z}&}UX;1?+Diw?5E-qgtTX1aP}5}@M~qgf zZ0?sOBA3^7a>!1AgfQ7-ClU zz{;wg6p;LS`FPJH6yrh9&U>1F$QacB&p?sJH5A&TJ26^-c&zv_@^ag0%FAuj#%OkC zdLh=LC5hK8%QAI8uM;3i9aQr^b*Le<@Mw1ARLOmFXW0+^37)HEWD_&~@MnP8e|0>t zLxv?=ay~a)d!3-_?=iCHt0LaXG#*um}ie89HeQz*So#Th z^Q~p_^6e`5m_QI5ma+bxuy)HbZPg z#TPwc&Lsy@C{4~?7OV_3I!u%k4XYwd#tT@P5!3c3>4E%Z&6UNiPm~;s%Jm$$GC;#u z4TDNBnIA^ruMXPAQ0_=guy0g-*yx8~eoZv4>th>qnza_t=1@JWwz>OU7`Jj_HXW|A zzW1b=xNK*Nlyu$y(M_uZrWqF6KQr`d+*JmG3lYE}yVxA3F1I|z`2;T%&}!a?qX^MT@MRaLU6&g6*NSR zfFeX~H(bV`9=p$sYi?EhR?);E6pgaL+?qh@L4ihxwKijFFzGTy@^?m5wu!f7W*(7q zBBAuWoq1HOxcdMuustmXk58^DYpq=YD)Aj;ukAi&ulmr9{EKHzba=UG&*6nTsk`^- zzL3O)+>IbuTOE96L+E8=IB!n3KM(?~qK4z1KMkAp>2rHWPHEUo#h9~7X_ORSk;HG_ zsy#yO76&h~+Ni%VK=poiLCQSpW2`MykFpproCVDQt+HwaRNJJyVbsyL)Af8hE8woq z)1fV;vsqw%P0;*%KtlzH9g1g>lvutZsPXHj@HQiCJ_G(qVUkp?rWKxKmY&Ox9enYr@2!Xa1ypo2~Y4Iv{zE1%=%W%HI=taqx>jgfk0)d!d3{g3v6 zxi!(ami_i<@Ht$c4%<wE^9;kNYnYX*5Akn{#>x@Ao2L)Q>k3<50Mg+S{+w)ZLEyVBYw2W_&rC;_ zM&&}2JnoIhv4k_rrpz7IIHN&`0sd?LlffwhP?K1mF z8-fd%UlZ8v-gXo?|4vWo{Ks&XftE@_wCN>-o=wIZ$%Vw8>RFki?7JjtzsO5tvUD22 zv)qBux1*8TU7?#o?)i-?#4PuB3-~dTtGDz9x@m-I{qhJIpp^O2T0amoE7@*+b41C5 z5*MPa-1I1Q!jBa{)0~sn!k5D;H&~QI7zm0I25LG7G(@ikMTkCIorfFxh#2UKW(NeP zsKbQyUanwnO;F<@-WP>5wEsN`4MeX0pTSs`c8^{xaou@BN;uWc(kRlNkJ21J+YWu#}O=j9ir zG9+0Tq@{0V2{o&YfH71=!?HFj)vBAAwm63`{_p5#*?s97-9I{z^erhG`zsf+EJ( zW(1o-)qtsrIj*N2xtI)j7!J(&ZaAszvPtFHNh#4fAu$53@=xrqPHwm4W8h(^sNdVS zJO6lT-|foR$=fb}HgYuVPSO(dY2{fu%cNLc>5I_L?5kI^qUwGo7QgwgJ?l)t*&8#J zr|exU_&q~W?oDRuMq8(8{1-XYCV*}I1twE~WIhlxLopM`!7E!{-9MZck(~Zy!V#wo zhA-=m#Hrd}Y&mW8DUoUpz4D@oiHmk$4Ic4gyG#8Pc>^G{@Lyh&~v-_2n3^O3DRV=!w4@|M1M_49QPrLGn6+WD*P;%!XjU=c|m$qSWZ2hkuSdKs@5 ngzPOZ%-=0g!@TF!9JPs$yr62(Dc<1Hg47~~lGNZs_I0fCc0+Ff=X!it~7FZw~>|LItHs@nwlQnJMvU znK`L?6}dSuB@9p{oO&7Qndy1?MXAU#Z9vW3AkB$6iO9M*pt^)Xas~N0nZ+46P3D0Z H3$Ypi-G?{D literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/repos/testrepoI/.hgignore b/lib/wlrepo/tests/data/branched2/.hgignore similarity index 100% rename from lib/wlrepo/tests/data/repos/testrepoI/.hgignore rename to lib/wlrepo/tests/data/branched2/.hgignore diff --git a/lib/wlrepo/tests/data/repos/testrepoI/ignored_file b/lib/wlrepo/tests/data/branched2/ignored_file similarity index 100% rename from lib/wlrepo/tests/data/repos/testrepoI/ignored_file rename to lib/wlrepo/tests/data/branched2/ignored_file diff --git a/lib/wlrepo/tests/data/repos/testrepoII/pub_polish_file.xml b/lib/wlrepo/tests/data/branched2/pub_polish_file.xml similarity index 100% rename from lib/wlrepo/tests/data/repos/testrepoII/pub_polish_file.xml rename to lib/wlrepo/tests/data/branched2/pub_polish_file.xml diff --git a/lib/wlrepo/tests/data/repos/testrepoII/pub_valid_file.xml b/lib/wlrepo/tests/data/branched2/pub_valid_file.xml similarity index 100% rename from lib/wlrepo/tests/data/repos/testrepoII/pub_valid_file.xml rename to lib/wlrepo/tests/data/branched2/pub_valid_file.xml diff --git a/lib/wlrepo/tests/data/repos/testrepoII/.hg/00changelog.i b/lib/wlrepo/tests/data/clean/.hg/00changelog.i similarity index 100% rename from lib/wlrepo/tests/data/repos/testrepoII/.hg/00changelog.i rename to lib/wlrepo/tests/data/clean/.hg/00changelog.i diff --git a/lib/wlrepo/tests/data/repos/cleanrepo/.hg/dirstate b/lib/wlrepo/tests/data/clean/.hg/dirstate similarity index 100% rename from lib/wlrepo/tests/data/repos/cleanrepo/.hg/dirstate rename to lib/wlrepo/tests/data/clean/.hg/dirstate diff --git a/lib/wlrepo/tests/data/repos/testrepoII/.hg/requires b/lib/wlrepo/tests/data/clean/.hg/requires similarity index 100% rename from lib/wlrepo/tests/data/repos/testrepoII/.hg/requires rename to lib/wlrepo/tests/data/clean/.hg/requires diff --git a/lib/wlrepo/tests/data/repos/cleanrepo/.hg/store/00changelog.i b/lib/wlrepo/tests/data/clean/.hg/store/00changelog.i similarity index 100% rename from lib/wlrepo/tests/data/repos/cleanrepo/.hg/store/00changelog.i rename to lib/wlrepo/tests/data/clean/.hg/store/00changelog.i diff --git a/lib/wlrepo/tests/data/repos/cleanrepo/.hg/store/00manifest.i b/lib/wlrepo/tests/data/clean/.hg/store/00manifest.i similarity index 100% rename from lib/wlrepo/tests/data/repos/cleanrepo/.hg/store/00manifest.i rename to lib/wlrepo/tests/data/clean/.hg/store/00manifest.i diff --git a/lib/wlrepo/tests/data/repos/testrepoII/.hg/store/data/.hgignore.i b/lib/wlrepo/tests/data/clean/.hg/store/data/.hgignore.i similarity index 100% rename from lib/wlrepo/tests/data/repos/testrepoII/.hg/store/data/.hgignore.i rename to lib/wlrepo/tests/data/clean/.hg/store/data/.hgignore.i diff --git a/lib/wlrepo/tests/data/repos/testrepoII/.hg/store/data/ignored__file.i b/lib/wlrepo/tests/data/clean/.hg/store/data/ignored__file.i similarity index 100% rename from lib/wlrepo/tests/data/repos/testrepoII/.hg/store/data/ignored__file.i rename to lib/wlrepo/tests/data/clean/.hg/store/data/ignored__file.i diff --git a/lib/wlrepo/tests/data/repos/cleanrepo/.hg/store/data/pub__valid__file.xml.i b/lib/wlrepo/tests/data/clean/.hg/store/data/pub__valid__file.xml.i similarity index 100% rename from lib/wlrepo/tests/data/repos/cleanrepo/.hg/store/data/pub__valid__file.xml.i rename to lib/wlrepo/tests/data/clean/.hg/store/data/pub__valid__file.xml.i diff --git a/lib/wlrepo/tests/data/repos/cleanrepo/.hg/store/fncache b/lib/wlrepo/tests/data/clean/.hg/store/fncache similarity index 100% rename from lib/wlrepo/tests/data/repos/cleanrepo/.hg/store/fncache rename to lib/wlrepo/tests/data/clean/.hg/store/fncache diff --git a/lib/wlrepo/tests/data/repos/cleanrepo/.hg/store/undo b/lib/wlrepo/tests/data/clean/.hg/store/undo similarity index 100% rename from lib/wlrepo/tests/data/repos/cleanrepo/.hg/store/undo rename to lib/wlrepo/tests/data/clean/.hg/store/undo diff --git a/lib/wlrepo/tests/data/repos/cleanrepo/.hg/undo.branch b/lib/wlrepo/tests/data/clean/.hg/undo.branch similarity index 100% rename from lib/wlrepo/tests/data/repos/cleanrepo/.hg/undo.branch rename to lib/wlrepo/tests/data/clean/.hg/undo.branch diff --git a/lib/wlrepo/tests/data/repos/cleanrepo/.hg/undo.dirstate b/lib/wlrepo/tests/data/clean/.hg/undo.dirstate similarity index 100% rename from lib/wlrepo/tests/data/repos/cleanrepo/.hg/undo.dirstate rename to lib/wlrepo/tests/data/clean/.hg/undo.dirstate diff --git a/lib/wlrepo/tests/data/repos/testrepoII/.hgignore b/lib/wlrepo/tests/data/clean/.hgignore similarity index 100% rename from lib/wlrepo/tests/data/repos/testrepoII/.hgignore rename to lib/wlrepo/tests/data/clean/.hgignore diff --git a/lib/wlrepo/tests/data/repos/testrepoII/ignored_file b/lib/wlrepo/tests/data/clean/ignored_file similarity index 100% rename from lib/wlrepo/tests/data/repos/testrepoII/ignored_file rename to lib/wlrepo/tests/data/clean/ignored_file diff --git a/lib/wlrepo/tests/data/repos/cleanrepo/pub_valid_file.xml b/lib/wlrepo/tests/data/clean/pub_valid_file.xml similarity index 100% rename from lib/wlrepo/tests/data/repos/cleanrepo/pub_valid_file.xml rename to lib/wlrepo/tests/data/clean/pub_valid_file.xml diff --git a/lib/wlrepo/tests/data/merged/.hg/00changelog.i b/lib/wlrepo/tests/data/merged/.hg/00changelog.i new file mode 100644 index 0000000000000000000000000000000000000000..d3a8311050e54c57c5be7cfe169e60a95768812c GIT binary patch literal 57 zcmWN_K?=Yi3JkRY73Ak+7H8lz KnFnGl#A*O+Av*v7 literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/merged/.hg/requires b/lib/wlrepo/tests/data/merged/.hg/requires new file mode 100644 index 00000000..5175383b --- /dev/null +++ b/lib/wlrepo/tests/data/merged/.hg/requires @@ -0,0 +1,3 @@ +revlogv1 +store +fncache diff --git a/lib/wlrepo/tests/data/merged/.hg/store/00changelog.i b/lib/wlrepo/tests/data/merged/.hg/store/00changelog.i new file mode 100644 index 0000000000000000000000000000000000000000..31a5d32544b272265e9c9cb47e18ae5f41a55b3b GIT binary patch literal 1687 zcmX|>2{e>z7{|YvF~~A0#0fWK&62GG(|FF z-%=vWwa(ZwNYi485t)ig+i_-azi+ty=ltL2J>T=5^ZwrFd)^m-0We@g=fDuLIS1A^ z^*kT%)yKrR#LAK%v&|n$@8Of9{$B${B3+GTiRx090fr|_dXZ`Emk6)-&1s>i>B)uK zhOM!T7Ji1VQ-Y#5FL6l1?Sgw_K;h}kkeSj)`nLQPm3IsWqmbs5YbU+~DFe5sd^-8s zp+>atjd$Kgi=TAn9{MQ^`+dM?J?{uSMx#iyEd&VwNuY0uX21qMM62dl68daSEbpZf zB8tnt|CYN_+P}F*6o_=~0b5k3x*T%2x`}+M!I+@zFV^7K@#IhPiyO(iUYwZyhP?OQ zC~mEwS}<8x=NFi|;~}eFb1#Ku(|Ju+oxXD#ri!htytDsh6`WdHtcX>KGs8*dFd3CU zlv!Cft?>aw0e!7*eXz;;T?J09I#_2apOPLtXL+9F!(5YIU)uXz#IYnAuYw~PGVwc zcV2I}+&q33pMCP#J>z4#sfKc^smirZVuOB#2*BOqVwO#}W3KRHgpZ*3@6%|~$2>Gb zSyG#vGVsLq!=P~KZBw{+$yLMr#orG;#AfEq;OG6)C)WUhy{<8|JuFBBK?lb+&=55O ziV(HMSUEZB%%haZmNtoBmCZD4@dO3TZ3(0vs*~z8kt5Fx#ikK>f2D?H>bUXdKO?fv zMVBR5=!ab#?m33`=}3yeVB)IF+v?YWDokgntAU5!n|@Ri^Trh&MMh52OL(Dq)WO3_ zuXvIEMZs7TyiZ|;UZJ$+w@Z*s9i%lj|~4N)QPQ-kO_*_OU`MLj-l3X zt1Ya%-uDMgHaxL7=qvgNBP6q)^8|mcWlT*b5$)K#IB)aGNH%;WCWbgTb)3g*B6j1h z&!!i*)$IEj9<>4I^ZzP(=lMGW9@Rh`rXV`cb5;GuzgRANd8<715ks+oLLJ zyQkH5*;~+ufw=^#OG@cgNRBcKIFl6!#=T1?t|_rvUjegYrOZ$Kp~X7SeHqK=t3BpB zGo-2(n+1{M&S#=8uj!`jH$iI*K@9MX{*MEv&=nTnG!m+|oNvx<|3&v73vW}R@O~mht~)@%|Do5EaG2usVG%QlcW|4%i)!Ykn7lp}3J}UYiEUqS=~Yz6{!cjG z<5GK^nLzh+)H^TAwfUB;+*YOlR<+Zx0>VHLL@-d%X`mr`2`EDJnUW0j=vTyGcR1DC zFJ2PHYH)P`b6bK6Zw(e+201-6L9Q}D;NnzA%`}&Gya}`0%h-l}a}da7ft4pMPori2 zr62MP+OLIBUbZ_)Q_qCmhE!%UF0@x(iIn$*m>6$0_GT|$Hu7`Fjgo461R%2#JxTAb!k@__uWc(kRlNkJ21J+YWu#}O=j9ir zG9+0Tq@{0V2{o&YfH71=!?HFj)vBAAwm63`{_p5#*?s97-9I{z^erhG`zsf+EJ( zW(1o-)qtsrIj*N2xtI)j7!J(&ZaAszvPtFHNh#4fAu$53@=xrqPHwm4W8h(^sNdVS zJO6lT-|foR$=fb}HgYuVPSO(dY2{fu%cNLc>5I_L?5kI^qUwGo7QgwgJ?l)t*&8#J zr|exU_&q~W?oDRuMq8(8{1-XYCV*}I1twE~WIhlxLopM`!7E!{-9MZck(~Zy!V#wo zhA-=m#Hrd}Y&mW8DUoUpz4D@oiHmk$4Ic4gyG#8Pc>^G{@Lyh&~v-_2n3^O3DRV=!w4@|M1M_49QPrLGn6+WD*P;%#K*02?S1MgRZ+ literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/merged/.hg/store/data/pub__ala.xml.i b/lib/wlrepo/tests/data/merged/.hg/store/data/pub__ala.xml.i new file mode 100644 index 0000000000000000000000000000000000000000..084d15c297ba842180c813d6bb60975a87c652cd GIT binary patch literal 153 zcmZQzWME{#1Z@AIUQPrLGn6+WD*P;%!XjU=c|m$qSWZ2hkuSdKs@5 ngzPOZ%-=0g!@TF!9JPs$yr62(Dc<1Hg47~~lGN_kN_ E0K(N3$^ZZW literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/merged/.hg/store/data/pub__valid__file.xml.i b/lib/wlrepo/tests/data/merged/.hg/store/data/pub__valid__file.xml.i new file mode 100644 index 0000000000000000000000000000000000000000..fd3c7f7b76f7cc2c3d01256a69093bd8f5817e58 GIT binary patch literal 152 zcmZQzWME{#1dRWoUQPrLGn6+WD*P;%!XjU=ax*$pe*R0?{BNI;9pE m@u!`cwx7%G&ztUJ8_l}zoPer9r+6H55*2b26|(b761f1Y*(LG- literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/merged/.hg/store/fncache b/lib/wlrepo/tests/data/merged/.hg/store/fncache new file mode 100644 index 00000000..0e671a68 --- /dev/null +++ b/lib/wlrepo/tests/data/merged/.hg/store/fncache @@ -0,0 +1,5 @@ +data/.hgignore.i +data/ignored_file.i +data/pub_valid_file.xml.i +data/pub_polish_file.xml.i +data/pub_ala.xml.i diff --git a/lib/wlrepo/tests/data/merged/.hg/store/undo b/lib/wlrepo/tests/data/merged/.hg/store/undo new file mode 100644 index 0000000000000000000000000000000000000000..6f22e30225d27fdd93daf26dd96b4e0456557774 GIT binary patch literal 37 qcmXpo$W6@4OiL{;(aU5oG&C^cGB8NaNX$!5&B;#(37HyNZ~*|-!wQuE literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/repos/testrepoI/.hg/undo.branch b/lib/wlrepo/tests/data/merged/.hg/undo.branch similarity index 100% rename from lib/wlrepo/tests/data/repos/testrepoI/.hg/undo.branch rename to lib/wlrepo/tests/data/merged/.hg/undo.branch diff --git a/lib/wlrepo/tests/data/merged/.hg/undo.dirstate b/lib/wlrepo/tests/data/merged/.hg/undo.dirstate new file mode 100644 index 0000000000000000000000000000000000000000..f4260532a1d84dab0dd2bdec6252e77f519ccdb5 GIT binary patch literal 194 zcmY#;bA{QW=bTY~&cerPs<+t!C-7~b#Ie-;(g)@JkRY73Ak+7H8lznFnGl#A*PefJKP_ literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/merged/.hgignore b/lib/wlrepo/tests/data/merged/.hgignore new file mode 100644 index 00000000..e69de29b diff --git a/lib/wlrepo/tests/data/merged/ignored_file b/lib/wlrepo/tests/data/merged/ignored_file new file mode 100644 index 00000000..e69de29b diff --git a/lib/wlrepo/tests/data/merged/pub_ala.xml b/lib/wlrepo/tests/data/merged/pub_ala.xml new file mode 100644 index 00000000..94d21052 --- /dev/null +++ b/lib/wlrepo/tests/data/merged/pub_ala.xml @@ -0,0 +1 @@ +Super tekst. diff --git a/lib/wlrepo/tests/data/merged/pub_polish_file.xml b/lib/wlrepo/tests/data/merged/pub_polish_file.xml new file mode 100644 index 00000000..c7ada58c --- /dev/null +++ b/lib/wlrepo/tests/data/merged/pub_polish_file.xml @@ -0,0 +1 @@ +Gąska! diff --git a/lib/wlrepo/tests/data/merged/pub_valid_file.xml b/lib/wlrepo/tests/data/merged/pub_valid_file.xml new file mode 100644 index 00000000..84321884 --- /dev/null +++ b/lib/wlrepo/tests/data/merged/pub_valid_file.xml @@ -0,0 +1 @@ +Ala ma kota diff --git a/lib/wlrepo/tests/data/merged_with_local_commit/.hg/00changelog.i b/lib/wlrepo/tests/data/merged_with_local_commit/.hg/00changelog.i new file mode 100644 index 0000000000000000000000000000000000000000..d3a8311050e54c57c5be7cfe169e60a95768812c GIT binary patch literal 57 zcmWN_K?=Yi3 KWFCmI5UT+L{ye1s literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/merged_with_local_commit/.hg/requires b/lib/wlrepo/tests/data/merged_with_local_commit/.hg/requires new file mode 100644 index 00000000..5175383b --- /dev/null +++ b/lib/wlrepo/tests/data/merged_with_local_commit/.hg/requires @@ -0,0 +1,3 @@ +revlogv1 +store +fncache diff --git a/lib/wlrepo/tests/data/merged_with_local_commit/.hg/store/00changelog.i b/lib/wlrepo/tests/data/merged_with_local_commit/.hg/store/00changelog.i new file mode 100644 index 0000000000000000000000000000000000000000..09fc04bffd4573ea3e197f2901d59c1aca855184 GIT binary patch literal 1891 zcmX|B3pA8z82;zh3^B$RaphC$cNQxyXJ*FT0-A^ zu8xWlwcmLqn$PcAT_a0$j()czzJ;KK=_{>e9H};^Y51e7{hF(OWIX#lY16YqWB*`o zzcY(l$|;o&RaE#LPuX}+P^qiO6gae8P$Y1aM-W=%^5Q=&o|hn5`MGLj%{XfcE|bqI z{-Pns_`{wWK$misDwca{?cWwrv`d2whO?QeLF2aJF~0nz^~h~W$`?S3_#>6 z5%3WVrUy`@YrWPHw7my-Z4nW+P0oG81idu?)x8z+EtX1*(caiAH1YnF&~yVY@x(ML z<5YCPr5(nhXZqUq5Ph2yBS@sU(!$2dWvGPI65_e-fYD$VzLx*{IRiCbX5w=scYD;X zpVVK7BmM6NkuA;lKC>csvIy+gXPX}gphn@tlOBuO^_nqLcB0erR-+Nd%mO+s-diX> zIBnh>guTNi3C&eBReaXnZ_AFKR{V6v8a|KgFd&@+WB{U9iGt5IB7OK~xA$Y0OG!+h zyJ}DSbqglbKz|MJ{JXFD2NApcn~h%Le@1jZUAW!A61 z$f}ep=T=~}0)F>a{T_e#*YC8|y?{pftM z`_WIJw+1@LtlJh3euvA`fgLm*Gfc>WrY8At%Fc>l=dELepD~K=?T&Vm$dCBP5p_4p z+q7_wTN)hae59QugvW6LPTr^p*U!%p4i%wzx6dBBpe|^50gVmh^QR=eGZo$@X>;MF z2PRt5-=PPelK=WSDGWN!00uH6T~!KMs`e6<)VW4D7bj(ag>MGyA?wj_-Lq z+$^yTwjw)&{u+SWoz041{vDpi@H>!9Ed_LRnBgBfmKq+5dV7$0VWK`GtAQ^?lqj1P!7@-ZnHbn~HXy7X3ujn;I*v!||Agvk z4P*KE#p4iyYEKu?TLWyoJuqGYGt&EpQL+t1iPP%0)}7rr80w_QlOqrAg0cj_`Ixy8 zqQc)C8}C4ittgE-r^9SQI^r6lxIb6DoZG+|Z4weiY*tqY>Nn-%c1PMg6|Yjugni$9 zEp3lhdmr`KMe2E36Y(veJ;rm~YBp+pSrxTl;RQA8fPMok1-0UTC@8}LajS%HG`6Yf z*Px`1@^+87MRGCamCdKwO$Ffl8dhF=`27LX-XR$1n!hv{jlhp;)DbQ_qi4(Rn(y1- z_A{iqK?`NaG6`gEBRRQt89&(`ZN=;E%;{%$iAtr5)Elo!IZjvbc~2V+Hu(4GE^a#% zV{2N{?w8y>;dP^CizG=$1>O<;t8CwEAZ7u=LgfIlu+?&x(^40&hq(+un3|D)Bc}Fy zWVC_a8i3V3j`&1^DtiBmJ6!kbV*}9K#_ZB)OdXLrZz9L72=5*sLFHoB;HAM6@~W6!H7`|fWE>o&jrj>E+ALmOrz?P`(& t9MoespWG7C#Q3`OgF7)tqf4lFb+F)js9Y;w?U~bb)na_Mg@=ui^gqKg{TcuO literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/merged_with_local_commit/.hg/store/00manifest.i b/lib/wlrepo/tests/data/merged_with_local_commit/.hg/store/00manifest.i new file mode 100644 index 0000000000000000000000000000000000000000..8e1e78704c3f09bd12b483633bf74fea826d536b GIT binary patch literal 1295 zcmZQzWME`~023f(3}rL?hXN1xn^|f#K@!t0{?*p>uWc(kRlNkJ21J+YWu#}O=j9ir zG9+0Tq@{0V2{o&YfH71=!?HFj)vBAAwm63`{_p5#*?s97-9I{z^erhG`zsf+EJ( zW(1o-)qtsrIj*N2xtI)j7!J(&ZaAszvPtFHNh#4fAu$53@=xrqPHwm4W8h(^sNdVS zJO6lT-|foR$=fb}HgYuVPSO(dY2{fu%cNLc>5I_L?5kI^qUwGo7QgwgJ?l)t*&8#J zr|exU_&q~W?oDRuMq8(8{1-XYCV*}I1twE~WIhlxLopM`!7E!{-9MZck(~Zy!V#wo zhA-=m#Hrd}Y&mW8DUoUpz4D@oiHmk$4Ic4gyG#8Pc>^G{@Lyh&~v-_2n3^O3DRV=!w4@|M1M_49rwWQ%x;W5{=Bb03QvD A%K!iX literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/merged_with_local_commit/.hg/store/data/.hgignore.i b/lib/wlrepo/tests/data/merged_with_local_commit/.hg/store/data/.hgignore.i new file mode 100644 index 0000000000000000000000000000000000000000..2431023a17b1e7b5c96e5db8e264c251f39beab0 GIT binary patch literal 64 ncmZQzWME{#0{%n64&J91ElOJ*kA4VBT`S_X^HQPrLGn6+WD*P;%#K*02?S1MgRZ+ literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/merged_with_local_commit/.hg/store/data/pub__ala.xml.i b/lib/wlrepo/tests/data/merged_with_local_commit/.hg/store/data/pub__ala.xml.i new file mode 100644 index 0000000000000000000000000000000000000000..e811401c8694b738065db9b109a20dc20473d8d1 GIT binary patch literal 239 zcmZQzWME{#1Z@AIUQPrLGn6+WD*P;%!XjU=c|m$qSWZ2hkuSdKs@5 zgzPOZ%-=0g!@TF!9JPs$yr62(Dc<1Hg47~~lGN_kN_ E0K(N3$^ZZW literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/merged_with_local_commit/.hg/store/data/pub__valid__file.xml.i b/lib/wlrepo/tests/data/merged_with_local_commit/.hg/store/data/pub__valid__file.xml.i new file mode 100644 index 0000000000000000000000000000000000000000..fd3c7f7b76f7cc2c3d01256a69093bd8f5817e58 GIT binary patch literal 152 zcmZQzWME{#1dRWoUQPrLGn6+WD*P;%!XjU=ax*$pe*R0?{BNI;9pE m@u!`cwx7%G&ztUJ8_l}zoPer9r+6H55*2b26|(b761f1Y*(LG- literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/merged_with_local_commit/.hg/store/fncache b/lib/wlrepo/tests/data/merged_with_local_commit/.hg/store/fncache new file mode 100644 index 00000000..0e671a68 --- /dev/null +++ b/lib/wlrepo/tests/data/merged_with_local_commit/.hg/store/fncache @@ -0,0 +1,5 @@ +data/.hgignore.i +data/ignored_file.i +data/pub_valid_file.xml.i +data/pub_polish_file.xml.i +data/pub_ala.xml.i diff --git a/lib/wlrepo/tests/data/merged_with_local_commit/.hg/store/undo b/lib/wlrepo/tests/data/merged_with_local_commit/.hg/store/undo new file mode 100644 index 0000000000000000000000000000000000000000..40c23ad4eb57699c59fa785fdac2d0f4b475bc4f GIT binary patch literal 60 zcmYdEEJ@TaC{2n_%t_R%$j#BqWH2-}<}xtIP0Y(oOD!$|2^gB00Y#EC67$kibMn(c JLS`1`TmVW^5&QrE literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/merged_with_local_commit/.hg/undo.branch b/lib/wlrepo/tests/data/merged_with_local_commit/.hg/undo.branch new file mode 100644 index 00000000..2b1d956b --- /dev/null +++ b/lib/wlrepo/tests/data/merged_with_local_commit/.hg/undo.branch @@ -0,0 +1 @@ +personal_admin_file_ala \ No newline at end of file diff --git a/lib/wlrepo/tests/data/merged_with_local_commit/.hg/undo.dirstate b/lib/wlrepo/tests/data/merged_with_local_commit/.hg/undo.dirstate new file mode 100644 index 0000000000000000000000000000000000000000..496c1aef37ed7cbb0f7c8271948a83fa600abefb GIT binary patch literal 194 zcmbQlvDEz12j(+JvL-~v)pIZ&+ve-afCc0+Ff=X!it~7F?_dSeLItHs@nwlQnJMvU znK`L?6}dSuB@9p{oO&7Qndy1?MX4|uUZ@N=NONLNBC;+HsGKlJt{^`rvp55%$vhBa HAyxwbWA`+` literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/merged_with_local_commit/.hgignore b/lib/wlrepo/tests/data/merged_with_local_commit/.hgignore new file mode 100644 index 00000000..e69de29b diff --git a/lib/wlrepo/tests/data/merged_with_local_commit/ignored_file b/lib/wlrepo/tests/data/merged_with_local_commit/ignored_file new file mode 100644 index 00000000..e69de29b diff --git a/lib/wlrepo/tests/data/merged_with_local_commit/pub_ala.xml b/lib/wlrepo/tests/data/merged_with_local_commit/pub_ala.xml new file mode 100644 index 00000000..94d21052 --- /dev/null +++ b/lib/wlrepo/tests/data/merged_with_local_commit/pub_ala.xml @@ -0,0 +1 @@ +Super tekst. diff --git a/lib/wlrepo/tests/data/merged_with_local_commit/pub_polish_file.xml b/lib/wlrepo/tests/data/merged_with_local_commit/pub_polish_file.xml new file mode 100644 index 00000000..c7ada58c --- /dev/null +++ b/lib/wlrepo/tests/data/merged_with_local_commit/pub_polish_file.xml @@ -0,0 +1 @@ +Gąska! diff --git a/lib/wlrepo/tests/data/merged_with_local_commit/pub_valid_file.xml b/lib/wlrepo/tests/data/merged_with_local_commit/pub_valid_file.xml new file mode 100644 index 00000000..84321884 --- /dev/null +++ b/lib/wlrepo/tests/data/merged_with_local_commit/pub_valid_file.xml @@ -0,0 +1 @@ +Ala ma kota diff --git a/lib/wlrepo/tests/data/simple/.hg/00changelog.i b/lib/wlrepo/tests/data/simple/.hg/00changelog.i new file mode 100644 index 0000000000000000000000000000000000000000..d3a8311050e54c57c5be7cfe169e60a95768812c GIT binary patch literal 57 zcmWN_K?=Yi3QPrLGn6+WD*P;%#K*02?S1MgRZ+ literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/simple/.hg/store/data/pub__polish__file.xml.i b/lib/wlrepo/tests/data/simple/.hg/store/data/pub__polish__file.xml.i new file mode 100644 index 0000000000000000000000000000000000000000..3488bccb18f799c89d416b5fca591ba90e6ee85c GIT binary patch literal 73 zcmZQzWME`~08Svq0cA7&hk^+j6GYdfge+)Z@oKk=!`4GTE3FElYQR*f`;pe->_kN_ E0K(N3$^ZZW literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/simple/.hg/store/data/pub__valid__file.xml.i b/lib/wlrepo/tests/data/simple/.hg/store/data/pub__valid__file.xml.i new file mode 100644 index 0000000000000000000000000000000000000000..fd3c7f7b76f7cc2c3d01256a69093bd8f5817e58 GIT binary patch literal 152 zcmZQzWME{#1dRWoUQPrLGn6+WD*P;%!XjU=ax*$pe*R0?{BNI;9pE m@u!`cwx7%G&ztUJ8_l}zoPer9r+6H55*2b26|(b761f1Y*(LG- literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/repos/testrepoII/.hg/store/fncache b/lib/wlrepo/tests/data/simple/.hg/store/fncache similarity index 100% rename from lib/wlrepo/tests/data/repos/testrepoII/.hg/store/fncache rename to lib/wlrepo/tests/data/simple/.hg/store/fncache diff --git a/lib/wlrepo/tests/data/repos/testrepoI/.hg/store/undo b/lib/wlrepo/tests/data/simple/.hg/store/undo similarity index 100% rename from lib/wlrepo/tests/data/repos/testrepoI/.hg/store/undo rename to lib/wlrepo/tests/data/simple/.hg/store/undo diff --git a/lib/wlrepo/tests/data/simple/.hg/undo.branch b/lib/wlrepo/tests/data/simple/.hg/undo.branch new file mode 100644 index 00000000..331d858c --- /dev/null +++ b/lib/wlrepo/tests/data/simple/.hg/undo.branch @@ -0,0 +1 @@ +default \ No newline at end of file diff --git a/lib/wlrepo/tests/data/repos/testrepoI/.hg/undo.dirstate b/lib/wlrepo/tests/data/simple/.hg/undo.dirstate similarity index 100% rename from lib/wlrepo/tests/data/repos/testrepoI/.hg/undo.dirstate rename to lib/wlrepo/tests/data/simple/.hg/undo.dirstate diff --git a/lib/wlrepo/tests/data/simple/.hgignore b/lib/wlrepo/tests/data/simple/.hgignore new file mode 100644 index 00000000..e69de29b diff --git a/lib/wlrepo/tests/data/simple/ignored_file b/lib/wlrepo/tests/data/simple/ignored_file new file mode 100644 index 00000000..e69de29b diff --git a/lib/wlrepo/tests/data/simple/pub_polish_file.xml b/lib/wlrepo/tests/data/simple/pub_polish_file.xml new file mode 100644 index 00000000..c7ada58c --- /dev/null +++ b/lib/wlrepo/tests/data/simple/pub_polish_file.xml @@ -0,0 +1 @@ +Gąska! diff --git a/lib/wlrepo/tests/data/simple/pub_valid_file.xml b/lib/wlrepo/tests/data/simple/pub_valid_file.xml new file mode 100644 index 00000000..84321884 --- /dev/null +++ b/lib/wlrepo/tests/data/simple/pub_valid_file.xml @@ -0,0 +1 @@ +Ala ma kota diff --git a/lib/wlrepo/tests/data/test5/.hg/00changelog.i b/lib/wlrepo/tests/data/test5/.hg/00changelog.i new file mode 100644 index 0000000000000000000000000000000000000000..d3a8311050e54c57c5be7cfe169e60a95768812c GIT binary patch literal 57 zcmWN_K?=Yi37JAkB$6iO9M*pt^)Xas~N0nZ+46 LP3D0Z3$Ypi`E@tR literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/test5/.hg/requires b/lib/wlrepo/tests/data/test5/.hg/requires new file mode 100644 index 00000000..5175383b --- /dev/null +++ b/lib/wlrepo/tests/data/test5/.hg/requires @@ -0,0 +1,3 @@ +revlogv1 +store +fncache diff --git a/lib/wlrepo/tests/data/test5/.hg/store/00changelog.i b/lib/wlrepo/tests/data/test5/.hg/store/00changelog.i new file mode 100644 index 0000000000000000000000000000000000000000..29ef7d21bdd1eee2c36f3f2f55e53784be9e683b GIT binary patch literal 1869 zcmX|>2T)T<7{_1o5`vV73MVI^paevU1UVBaQV#G4#UqEDpb}7!VmNF#5dl6ttvcAVe;FH~BRhjqNcHB|kBxOeZzXpj6u8zjSK9z(rbpU=QVsK3Eeo)zxF-|%sG@2GM0bW$U*u;>lM%0G^Cbw*5@byGQ z*CZu`nr3`{@Xw2Ah5c@WR$u4BzW?I4m}!STr*~VvEdmKa7l8kk&!8oIgjUBTFZAI8 zCiBU9IBKx%-xq^F@{%8A>5;P}2SA(JzXF*j= z{#jYCLS4C8v(qMy;EOv76gmpxWAAdo4adyjNImfJgJOf51 zFnZZ2&VsM??iTDfVDo}%M*%WR=>zTvcl2=oS zXv~_9h^;+^JL1P_srw(^G}~jCWTG~oq*?BY>GIEkp}m&JuiLk{q|d#L^poZOaflT2 zHj@NvDiWBi&MJpDU30T9YQlZ<&X{D)e82T3HYIJ0HtC-{ya36Z49$@3Q9*JDE*J&C z2sMmEgxYeTkQsI4F6(ri0Qar9HiMG;k_~bz0@U3VN=@c!%(3p+D|E^4Nnt4lo|4IF z`1-Nvg7cO}VaIz~_mKP=FGP~baixWV%0;Mz+!X3z?6vi|2w%g$bjm=3mv-R^I%h}J zuHEaON=^sd4yKr!{nk&UbZ~SthE6oz6G8&AI(1qx?`#JDQX-B;8nFu)^muQv zWZ$$|V=(UD46@j4oz^;Eg}bd;@zbgwj$0t-ksk(xQ@~7M%(7wRY@@OVFYUaWozEw- zeQ#^@_H8bhx(4zqLi*ngX)374Hg5_`KhB>!So2jqs6mgA$wYsgGl(t1sRYGtO-!p( zKF6tCRi0CEv121jH9R3V=mW`)7m`vbuA&{Q8_-cnAi31eOxnLQRSo}f?i{0Q#_ws^P*=G{Eub9TM3{wXv*kk5Z7?VhRd-gfO% zM5)(g(>0}%nOfQDA-5yZCl?G^+s#RO-3SAEssH1^6uH6*%f=$rRy&xsAz)_jm#K+8 z%_EIc>kuNv3FKD733i{u^H-_JiW^1cpqQea@YqzQEuM5qgwv|mu?WEr&VUA)C zrO|>3h|G3{0$;xjQELfQ54f{$WUhzp`eueaOmp@ezk#nEWSKuZ5DL)?y%~b{)Z`M5 zi|8FyaxdSBY9TW`6!mH!`|M=h_4Ina3{|q$qzJ))>2esP=o!EWJr0QoeTpKF)b|1I zY6<7~`o}Axgw-C-Ah#l<@V21vD%jEPm&_7lm>Q?uXR &GRtFExc8f=ewYEA*g)J zr%{s1Bd(Qq&~|-T^ONKL4BZseRa9|b?)vhadhS?*m^7Hd5rx7h*B-Vx(CVT3H?2(E z^UcrP`e3#9LHAwcu4nfnzXi6%cuWvyqm;|4Xa#dmY3W{sdISYts(%=mMgS`=8@bWA zhK4_b6Whz%+~ejc#ncy8A7+0l0N+=%^x7lu59s!G;ehDJ`RCCn{Fr8~?nNieY}swI zy{lb+h16GT!#134L2P5Pql?Js@s4OBud^e&FGDm~Dx0UJ4w17Rui*1~1qQ1Fx;D=n z`@~qAl(hM?Iww6-?{AVO>a9a|#QZ7W7kMZdzzFCnBqF6Y!Fe^dh<$>4a>}^OO01Ie z8q7|RTM+;i5s^~c_jcQ&l&L-nzo%Fg)SbizxSZi8>6vO!cpD#?(V~amKa5X@6(+rH ztThN}Ot?bb5dSlQXfN8roQVETRXdyQvid`C({3A`{sTL?>4g9Q literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/test5/.hg/store/00manifest.i b/lib/wlrepo/tests/data/test5/.hg/store/00manifest.i new file mode 100644 index 0000000000000000000000000000000000000000..231b5cdb55028f0ea99930b6d3823345ba47b619 GIT binary patch literal 1295 zcmZQzWME`~023f(3}rL?hXN1xn^|f#K@!t0{?*p>uWc(kRlNkJ21J+YWu#}O=j9ir zG9+0Tq@{0V2{o&YfH71=!?HFj)vBAAwm63`{_p5#*?s97-9I{z^erhG`zsf+EJ( zW(1o-)qtsrIj*N2xtI)j7!J(&ZaAszvPtFHNh#4fAu$53@=xrqPHwm4W8h(^sNdVS zJO6lT-|foR$=fb}HgYuVPSO(dY2{fu%cNLc>5I_L?5kI^qUwGo7QgwgJ?l)t*&8#J zr|exU_&q~W?oDRuMq8(8{1-XYCV*}I1twE~WIhlxLopM`!7E!{-9MZck(~Zy!V#wo zhA-=m#Hrd}Y&mW8DUoUpz4D@oiHmk$4Ic4gyG#8Pc>^G{@Lyh&~v-_2n3^O3DRV=!w4@|M1M_49( literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/test5/.hg/store/data/.hgignore.i b/lib/wlrepo/tests/data/test5/.hg/store/data/.hgignore.i new file mode 100644 index 0000000000000000000000000000000000000000..2431023a17b1e7b5c96e5db8e264c251f39beab0 GIT binary patch literal 64 ncmZQzWME{#0{%n64&J91ElOJ*kA4VBT`S_X^HQPrLGn6+WD*P;%#K*02?S1MgRZ+ literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/test5/.hg/store/data/pub__ala.xml.i b/lib/wlrepo/tests/data/test5/.hg/store/data/pub__ala.xml.i new file mode 100644 index 0000000000000000000000000000000000000000..330e2f7bcc6ad6425082144fb6e0a4e0c2d2a330 GIT binary patch literal 244 zcmZQzWME{#1Z@AIUQPrLGn6+WD*P;%!XjU=c|m$qSWZ2hkuSdKs@5 zgzPOZ%-=0g!@TF!9JPs$yr62(Dc<1Hg47~~lGN_kN_ E0K(N3$^ZZW literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/test5/.hg/store/data/pub__valid__file.xml.i b/lib/wlrepo/tests/data/test5/.hg/store/data/pub__valid__file.xml.i new file mode 100644 index 0000000000000000000000000000000000000000..fd3c7f7b76f7cc2c3d01256a69093bd8f5817e58 GIT binary patch literal 152 zcmZQzWME{#1dRWoUQPrLGn6+WD*P;%!XjU=ax*$pe*R0?{BNI;9pE m@u!`cwx7%G&ztUJ8_l}zoPer9r+6H55*2b26|(b761f1Y*(LG- literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/test5/.hg/store/fncache b/lib/wlrepo/tests/data/test5/.hg/store/fncache new file mode 100644 index 00000000..0e671a68 --- /dev/null +++ b/lib/wlrepo/tests/data/test5/.hg/store/fncache @@ -0,0 +1,5 @@ +data/.hgignore.i +data/ignored_file.i +data/pub_valid_file.xml.i +data/pub_polish_file.xml.i +data/pub_ala.xml.i diff --git a/lib/wlrepo/tests/data/test5/.hg/store/undo b/lib/wlrepo/tests/data/test5/.hg/store/undo new file mode 100644 index 0000000000000000000000000000000000000000..40c23ad4eb57699c59fa785fdac2d0f4b475bc4f GIT binary patch literal 60 zcmYdEEJ@TaC{2n_%t_R%$j#BqWH2-}<}xtIP0Y(oOD!$|2^gB00Y#EC67$kibMn(c JLS`1`TmVW^5&QrE literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/test5/.hg/undo.branch b/lib/wlrepo/tests/data/test5/.hg/undo.branch new file mode 100644 index 00000000..331d858c --- /dev/null +++ b/lib/wlrepo/tests/data/test5/.hg/undo.branch @@ -0,0 +1 @@ +default \ No newline at end of file diff --git a/lib/wlrepo/tests/data/test5/.hg/undo.dirstate b/lib/wlrepo/tests/data/test5/.hg/undo.dirstate new file mode 100644 index 0000000000000000000000000000000000000000..0bd4bce4eb8a52265567f5e8b40f5f5e70c3d2d5 GIT binary patch literal 194 zcmX?bAUw6@#D?QOb$`9q1l_Xw@J?(c0~V0Sz|gn^D9+=xy?rx~7Ah!BiZ4sd$xMk) z%gjmDtH{lPDPe#r;nd4W&rHwDFG_{U@B(F?0yT4kG$-aHBJ1LS>JkRY73Ak+7H8lz KnFnGl#A*O+Av*v7 literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/test5/.hgignore b/lib/wlrepo/tests/data/test5/.hgignore new file mode 100644 index 00000000..e69de29b diff --git a/lib/wlrepo/tests/data/test5/ignored_file b/lib/wlrepo/tests/data/test5/ignored_file new file mode 100644 index 00000000..e69de29b diff --git a/lib/wlrepo/tests/data/test5/pub_ala.xml b/lib/wlrepo/tests/data/test5/pub_ala.xml new file mode 100644 index 00000000..b53384ce --- /dev/null +++ b/lib/wlrepo/tests/data/test5/pub_ala.xml @@ -0,0 +1 @@ +Super tekst. - w default. diff --git a/lib/wlrepo/tests/data/test5/pub_polish_file.xml b/lib/wlrepo/tests/data/test5/pub_polish_file.xml new file mode 100644 index 00000000..c7ada58c --- /dev/null +++ b/lib/wlrepo/tests/data/test5/pub_polish_file.xml @@ -0,0 +1 @@ +Gąska! diff --git a/lib/wlrepo/tests/data/test5/pub_valid_file.xml b/lib/wlrepo/tests/data/test5/pub_valid_file.xml new file mode 100644 index 00000000..84321884 --- /dev/null +++ b/lib/wlrepo/tests/data/test5/pub_valid_file.xml @@ -0,0 +1 @@ +Ala ma kota diff --git a/lib/wlrepo/tests/data/test5c/.hg/00changelog.i b/lib/wlrepo/tests/data/test5c/.hg/00changelog.i new file mode 100644 index 0000000000000000000000000000000000000000..d3a8311050e54c57c5be7cfe169e60a95768812c GIT binary patch literal 57 zcmWN_K?=Yi3 KWFCmI5UT-fsy+1p literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/test5c/.hg/requires b/lib/wlrepo/tests/data/test5c/.hg/requires new file mode 100644 index 00000000..5175383b --- /dev/null +++ b/lib/wlrepo/tests/data/test5c/.hg/requires @@ -0,0 +1,3 @@ +revlogv1 +store +fncache diff --git a/lib/wlrepo/tests/data/test5c/.hg/store/00changelog.i b/lib/wlrepo/tests/data/test5c/.hg/store/00changelog.i new file mode 100644 index 0000000000000000000000000000000000000000..6b31c31a8163532b510ed47a7ac29cb4bb6d95fb GIT binary patch literal 2087 zcmX|>2Q*x16vy9~8KX|rWrG;KL?=5FWtAXnlrSsVkT6)Hgh;_rf{C(hVxp`vWW=m6 zdW#lOg6PDEmPkUBC=(@FDUKaw-y7Edod0*f^X@z6``!EQ_W&3G0}gZ*41tGxVE<4r za){^q={TE6eo|ep?jv4lCMo#;cc2(bmFh7-KgaL^Bhy8F$h++~{9mgs%A-?~<7f(M zt&xQ-%v2?-JEBhWF~cakYv-Q0(_GTL=ZYVzm@>B|-WOV^dp9S9UHAed3?|JucQO@x z)G1${+>VG1Q{So)W*oB3Ekhve! zqxSMDS<^K&t{#bkk9ull<;XoIonibKs?aP<5?@_@Uvr{@Bc-@N6fY5_L*UA!7nXk& z?@9mDi0B^5qVCn~4>cLRFC$1*dMVE2kdwU@4FV#Z>3h8U8*(q$92@L41YAj=ISvhj zN>E%IhvSllbprkWUQkqc%juAUZUpm33Z+`~X`^Gc_<(k!suk4n?hp@Z#ru^w4uoKT zfbvMGZu9~%+j{rw9Gl;l56tx9>6kJ(twVKd9op>;MxWnqJ~2e zqShNPB?bTfI3cK|4fVaenSw8PM+S380;z{6MfSZ?dF%(;OSSx zOYZ2Y_+B6BK8tnkhz-QyqAE+jByrPp;VPO0`HttQt;U{v&vqGwY!b&mJBpEIC_c|f<+#ii-rFg) z+|{(2`2G_xe!rLk&(B!nLhrO%Mm_Or%eWL@4A!!FeaU21o!@W!_U+K2nP2ATn?kz? z@e9cXZB?q@{DRk`+e=m0*Odc;1%L?9F`yx2Bxv^M*uAULTB~3eBlBRgA))e<`IW(^ zKZCg=g;LcA4bb4{uy{GH=P#p<^x2V+z+X%}RpV_gzkoS|P+RSSZ`(py|w;5{N|ogf~FQ$W*B1NIGFz^a0^{w&O;-iZVOz_JnpuB?(53p+2=DI zOapIiyg8UZ64>qj4t{X{O{%Dk=+oS@->qyp?^&LGm<>BI+W)~@#G*}X>e6&EUn$}94YiD35DJcU!@S8#&hL^f+`R@^{7$e`E zwG1vdI9|3njT?I182H`2H^O#Ndn1^)s-9S~^NN_|pwJ4Tzz_QG3vL5Ia~&GG(Wv(J z-@M}bs(WpscJbweH~OD9ekcK-AL-z45B-0@Y47V9AK1P#6%Iqsi8o{7%@G?_`5Nbr zS)Bnyj!D7|Q&c_4Cvj$$11c|c!?gQ=5^tvVtF4<)?N;BhRgrO4=zp>9v0@p0i5GXfj6x3?&_|)Xxzx*u50c7Lszk#dv zHtF49?nq#(hfLA27!id1tA{k}2A6SQQ!uA89NCN|ZmV+BY63pM!?pqC>vm>$sFYa5HHP^JBs@ zywtP&qAe>;-T0Y=m47vQSnb&`jG!fjlOgDwCmzdd88Wk?l3|ZG8eY;|9IF#}I@?h{ zJR^(q9=nfUtl5lmwD|Fc^A)KtYKHkVCu64H7nd%I*sl})1k=dc+zHoZlqy^^=s*7k BNp%1K literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/test5c/.hg/store/00manifest.i b/lib/wlrepo/tests/data/test5c/.hg/store/00manifest.i new file mode 100644 index 0000000000000000000000000000000000000000..82963b0f45bad2c4e888fa9fcdc70693bddbd8db GIT binary patch literal 1424 zcmZQzWME`~023f(3}rL?hXN1xn^|f#K@!t0{?*p>uWc(kRlNkJ21J+YWu#}O=j9ir zG9+0Tq@{0V2{o&YfH71=!?HFj)vBAAwm63`{_p5#*?s97-9I{z^erhG`zsf+EJ( zW(1o-)qtsrIj*N2xtI)j7!J(&ZaAszvPtFHNh#4fAu$53@=xrqPHwm4W8h(^sNdVS zJO6lT-|foR$=fb}HgYuVPSO(dY2{fu%cNLc>5I_L?5kI^qUwGo7QgwgJ?l)t*&8#J zr|exU_&q~W?oDRuMq8(8{1-XYCV*}I1twE~WIhlxLopM`!7E!{-9MZck(~Zy!V#wo zhA-=m#Hrd}Y&mW8DUoUpz4D@oiHmk$4Ic4gyG#8Pc>^G{@Lyh&~v-_2n3^O3DRV=!w4@|M1M_49rwWQ%x;W5{=9t9_R-f zh3o*3I48&f|Bj}Fvzb@S`=_LRs_3R)k;uNKpu~s_usQ%(?3txlSeT}nnWh=08Ksz{ an57vS8yY2ACR&<<%0~-B%R~bULoNW_#j0ii literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/test5c/.hg/store/data/.hgignore.i b/lib/wlrepo/tests/data/test5c/.hg/store/data/.hgignore.i new file mode 100644 index 0000000000000000000000000000000000000000..2431023a17b1e7b5c96e5db8e264c251f39beab0 GIT binary patch literal 64 ncmZQzWME{#0{%n64&J91ElOJ*kA4VBT`S_X^HQPrLGn6+WD*P;%#K*02?S1MgRZ+ literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/test5c/.hg/store/data/pub__ala.xml.i b/lib/wlrepo/tests/data/test5c/.hg/store/data/pub__ala.xml.i new file mode 100644 index 0000000000000000000000000000000000000000..c390642dcac7588c72358fd7c6b3d3adc620b075 GIT binary patch literal 360 zcmZQzWME{#1Z@AIUQPrLGn6+WD*P;%!XjU=c|m$qSWZ2hkuSdKs@5 zgzPOZ%-=0g!@TF!9JPs$yr62(Dc<1Hg47~~lGNZ06JL@5 literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/test5c/.hg/store/data/pub__polish__file.xml.i b/lib/wlrepo/tests/data/test5c/.hg/store/data/pub__polish__file.xml.i new file mode 100644 index 0000000000000000000000000000000000000000..3488bccb18f799c89d416b5fca591ba90e6ee85c GIT binary patch literal 73 zcmZQzWME`~08Svq0cA7&hk^+j6GYdfge+)Z@oKk=!`4GTE3FElYQR*f`;pe->_kN_ E0K(N3$^ZZW literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/test5c/.hg/store/data/pub__valid__file.xml.i b/lib/wlrepo/tests/data/test5c/.hg/store/data/pub__valid__file.xml.i new file mode 100644 index 0000000000000000000000000000000000000000..fd3c7f7b76f7cc2c3d01256a69093bd8f5817e58 GIT binary patch literal 152 zcmZQzWME{#1dRWoUQPrLGn6+WD*P;%!XjU=ax*$pe*R0?{BNI;9pE m@u!`cwx7%G&ztUJ8_l}zoPer9r+6H55*2b26|(b761f1Y*(LG- literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/test5c/.hg/store/fncache b/lib/wlrepo/tests/data/test5c/.hg/store/fncache new file mode 100644 index 00000000..0e671a68 --- /dev/null +++ b/lib/wlrepo/tests/data/test5c/.hg/store/fncache @@ -0,0 +1,5 @@ +data/.hgignore.i +data/ignored_file.i +data/pub_valid_file.xml.i +data/pub_polish_file.xml.i +data/pub_ala.xml.i diff --git a/lib/wlrepo/tests/data/test5c/.hg/store/undo b/lib/wlrepo/tests/data/test5c/.hg/store/undo new file mode 100644 index 0000000000000000000000000000000000000000..70ff532a3700479b4b3d0d30ba1bed68836329a5 GIT binary patch literal 60 zcmYdEEJ@TaC{2n_%t_R%$j#BqWH2(e!|qGE?Hy zGILV(DsppRN*JI@IQ25pGt=|(i&9}SqCgo(pk{86=ER&tWL+FkUBV!_g8ZD!;tZT7 K^FWM+SPcM?yf&Bs literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/test5c/.hgignore b/lib/wlrepo/tests/data/test5c/.hgignore new file mode 100644 index 00000000..e69de29b diff --git a/lib/wlrepo/tests/data/test5c/ignored_file b/lib/wlrepo/tests/data/test5c/ignored_file new file mode 100644 index 00000000..e69de29b diff --git a/lib/wlrepo/tests/data/test5c/pub_ala.xml b/lib/wlrepo/tests/data/test5c/pub_ala.xml new file mode 100644 index 00000000..94d21052 --- /dev/null +++ b/lib/wlrepo/tests/data/test5c/pub_ala.xml @@ -0,0 +1 @@ +Super tekst. diff --git a/lib/wlrepo/tests/data/test5c/pub_polish_file.xml b/lib/wlrepo/tests/data/test5c/pub_polish_file.xml new file mode 100644 index 00000000..c7ada58c --- /dev/null +++ b/lib/wlrepo/tests/data/test5c/pub_polish_file.xml @@ -0,0 +1 @@ +Gąska! diff --git a/lib/wlrepo/tests/data/test5c/pub_valid_file.xml b/lib/wlrepo/tests/data/test5c/pub_valid_file.xml new file mode 100644 index 00000000..84321884 --- /dev/null +++ b/lib/wlrepo/tests/data/test5c/pub_valid_file.xml @@ -0,0 +1 @@ +Ala ma kota diff --git a/lib/wlrepo/tests/data/test6-update/.hg/00changelog.i b/lib/wlrepo/tests/data/test6-update/.hg/00changelog.i new file mode 100644 index 0000000000000000000000000000000000000000..d3a8311050e54c57c5be7cfe169e60a95768812c GIT binary patch literal 57 zcmWN_K?=Yi3K literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/test6-update/.hg/requires b/lib/wlrepo/tests/data/test6-update/.hg/requires new file mode 100644 index 00000000..5175383b --- /dev/null +++ b/lib/wlrepo/tests/data/test6-update/.hg/requires @@ -0,0 +1,3 @@ +revlogv1 +store +fncache diff --git a/lib/wlrepo/tests/data/test6-update/.hg/store/00changelog.i b/lib/wlrepo/tests/data/test6-update/.hg/store/00changelog.i new file mode 100644 index 0000000000000000000000000000000000000000..7c76d905a9404350231655205ba4a8821b9fb0ee GIT binary patch literal 2291 zcmX|?2{e@5AIG0DGiGd)_2ms2WX)c^Gg%U$*H~gwZ&ZdNOQZ$I5~h$AlO@Zf5w92t zgM?&hh_Qxjtz?NzmP*_4j^%%!;qQCS_uhM+-*e9W{C@X$p9exf2xwhrz!bExhSoOp zB8zgkgGscH5~DtD+j(C^iAxRn|2yy;#!%##;GW|}p}vvAcJvMQ`GD8jQ`>RLNpZPq zIt@_;_1qK<+siVp6IXgLj%N=(@ytDu>NEb}k(LE_N&Z8DwXRQHLimyIP(oMYs9Q5v z%~zNH{mHGj5rRkUhK+wN`~BYSwsyx{;F5A4e_I$5f?|Ph@>kG0K1{1~_n#6rhrHU$zv#&W^49}1pLnx5SOK#~8l?o(3$d@6>M;no`8O(x` zA99?u>t+_ahGk>#yEnng?Uo-zrHbYrfHtSzX%;BzeS$51d*fdw{< zfKyPP8$=QldyIkt{+(1;dnf3ejH?0hO@%S6+YNEC2BHw#tZW9ewKeo4qx8c}oB&Fq zBT%#N;m(*zO8U{K*?I>wuIY%cT$3xeMRmL9BB6u3&ZX^ZvB_Ni9OTB!KXif+`S}h3 zDTh^~CUjL)vKXQiPBZ;$ZeLomSD2neRvVw(cgJr%;u2IAE5o~RoE6HeFsQq>(Nrst4p zXCjI&@6z%+*VlT0;MNoyL?lMD9yV64L8ZiIUxyvenr}LBwalv*)ny7YVuu8BcZTfQ zEBk69*dx!IWT5x=fFY?P8Bc$AzUeUsYV3V-+I~f`UOsZxboi{W;dqc1ttc!Y#-(@S z@SI+gH|8Fl*sCWcFXbxus5L8QPVDPBBRC&^GGMw0Oa(@57zyV##(VPK+~v9T?Kc&6c%4&D00^gR^qlz)2UQwEH8TBHU zk}HMEb1ULIwjsp)ujG4uC72iZq*nG;QO?v4DvDkq*woEW@0-;X^Iy7jDXe?+?}>@p zuoiOsWKw=(nf6crkog$)LoNPw6@XzOC=&PzFpP`_<{!t(4XuVsHODK;cZaJJSYND8 zcRk$;Vw(zM=ysXlz;Rf=9NZP4tc&(tmX{|Ty|%l;$7=f|em`2wuFb-f8~g?LJg6?c zyj1~fq10fp=*sILBJ5A%vBH|g*nVbC??^GSAp880a9K{nD`;}?0dtnyGhgANow69n za-MEZ5iXst;|0I7I~8$ZRU<*)fS}w1GYG8re>7OaS6FbvXt>(q$1}Ei%pd$QGj-tk zXcO1O$B<+N;+q21?r0JN{lD*JB(q(BrXY%n@YlGm&?dcI$~TwXRyM;m=l-7Xv+Q*c z9xIxHh%{Ts^W%FT@fJ^MkNby5m-}e8pXP}p6l=%HySTdH1cTSde4&7cE@6#d$VsKi zHl4HNiN_DD$VNPk6CocC)553g(=r>FJVdFaPBDyu4B*4SMW+M9^cZ-C=~J-Z5a4Pu*u3vUJrFNz-Pc~33ffh0#O^c$%xNWAg0R4ou9z1ah0azN!H z7sm*q<uoUi#aSa*LKn>G)JcBBG=}U$#8AficeRB@EM(JAIKCBu|J#59s!G&S2-#Y-oO>UY*gRk(XFzw z<4B~5PHCHaLf5oodW{k{PFV`x5%mv$-$XEG0>hv}z!TU~MEM6Mr^y*%&UG<4UXi*}I6@jiJP?ofXaw`J+CuOr77meH)KY7ATWa2a{OI;Ytfa9D^5bXIMxUrqDM>e{X8$g|?2il@hUwR^5Nui# z=ebWdYU^nwUpDpU>NYzdiMrzx{+-m@)&Fb5$!bS^DupTu}bbHDSB3Y=jbm<+ne4+evR7_;PFtZu%GerXPo!-nwaf{*OULW9UNS0RGQ} zXC%dEd4<1i^>@aPCd~Y&$KkQ>An+14birN;w;Z`x5u4D_8Lf0Dl3CBR{?x!@@uy== zRXw9BM4y3Mq^XLqAjR`K*QMfE Z;G&e{Qv4yT)3+n+z5CZNqqCZx{{u2Dl{EkW literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/test6-update/.hg/store/00manifest.i b/lib/wlrepo/tests/data/test6-update/.hg/store/00manifest.i new file mode 100644 index 0000000000000000000000000000000000000000..053fed3be4b6f8a499fb9e042649de1bcbc525ea GIT binary patch literal 1618 zcmZQzWME`~023f(3}rL?hXN1xn^|f#K@!t0{?*p>uWc(kRlNkJ21J+YWu#}O=j9ir zG9+0Tq@{0V2{o&YfH71=!?HFj)vBAAwm63`{_p5#*?s97-9I{z^erhG`zsf+EJ( zW(1o-)qtsrIj*N2xtI)j7!J(&ZaAszvPtFHNh#4fAu$53@=xrqPHwm4W8h(^sNdVS zJO6lT-|foR$=fb}HgYuVPSO(dY2{fu%cNLc>5I_L?5kI^qUwGo7QgwgJ?l)t*&8#J zr|exU_&q~W?oDRuMq8(8{1-XYCV*}I1twE~WIhlxLopM`!7E!{-9MZck(~Zy!V#wo zhA-=m#Hrd}Y&mW8DUoUpz4D@oiHmk$4Ic4gyG#8Pc>^G{@Lyh&~v-_2n3^O3DRV=!w4@|M1M_49rwWQ%x;W5{=9t9_R-f zh3o*3I48&f|Bj}Fvzb@S`=_LRs_3R)k;uNKpu~s_usQ%(?3txlSeT}nnWh=08Ksz{ zn57vS8yY2ACR&<<%0~-B%R~bULx=+|fX!Wfy+Pz-6$xwp0QQJbyk r-=)*fDQ_!0^KUWnRmUp4PtWlV$a+(*qpKB^e@J_+y-j^=$P~d literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/test6-update/.hg/store/data/.hgignore.i b/lib/wlrepo/tests/data/test6-update/.hg/store/data/.hgignore.i new file mode 100644 index 0000000000000000000000000000000000000000..2431023a17b1e7b5c96e5db8e264c251f39beab0 GIT binary patch literal 64 ncmZQzWME{#0{%n64&J91ElOJ*kA4VBT`S_X^HQPrLGn6+WD*P;%#K*02?S1MgRZ+ literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/test6-update/.hg/store/data/pub__ala.xml.i b/lib/wlrepo/tests/data/test6-update/.hg/store/data/pub__ala.xml.i new file mode 100644 index 0000000000000000000000000000000000000000..c390642dcac7588c72358fd7c6b3d3adc620b075 GIT binary patch literal 360 zcmZQzWME{#1Z@AIUQPrLGn6+WD*P;%!XjU=c|m$qSWZ2hkuSdKs@5 zgzPOZ%-=0g!@TF!9JPs$yr62(Dc<1Hg47~~lGNZ06JL@5 literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/test6-update/.hg/store/data/pub__polish__file.xml.i b/lib/wlrepo/tests/data/test6-update/.hg/store/data/pub__polish__file.xml.i new file mode 100644 index 0000000000000000000000000000000000000000..3488bccb18f799c89d416b5fca591ba90e6ee85c GIT binary patch literal 73 zcmZQzWME`~08Svq0cA7&hk^+j6GYdfge+)Z@oKk=!`4GTE3FElYQR*f`;pe->_kN_ E0K(N3$^ZZW literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/test6-update/.hg/store/data/pub__valid__file.xml.i b/lib/wlrepo/tests/data/test6-update/.hg/store/data/pub__valid__file.xml.i new file mode 100644 index 0000000000000000000000000000000000000000..fd3c7f7b76f7cc2c3d01256a69093bd8f5817e58 GIT binary patch literal 152 zcmZQzWME{#1dRWoUQPrLGn6+WD*P;%!XjU=ax*$pe*R0?{BNI;9pE m@u!`cwx7%G&ztUJ8_l}zoPer9r+6H55*2b26|(b761f1Y*(LG- literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/test6-update/.hg/store/fncache b/lib/wlrepo/tests/data/test6-update/.hg/store/fncache new file mode 100644 index 00000000..0e671a68 --- /dev/null +++ b/lib/wlrepo/tests/data/test6-update/.hg/store/fncache @@ -0,0 +1,5 @@ +data/.hgignore.i +data/ignored_file.i +data/pub_valid_file.xml.i +data/pub_polish_file.xml.i +data/pub_ala.xml.i diff --git a/lib/wlrepo/tests/data/test6-update/.hg/store/undo b/lib/wlrepo/tests/data/test6-update/.hg/store/undo new file mode 100644 index 0000000000000000000000000000000000000000..653cbbb9d419e50c52fc9affa67418c17c3d0986 GIT binary patch literal 37 rcmXpo$W6@4OiL{;(aU5oG%+&aGB8NaNX$!5&B;#(3K!|qGE?HyGILV(DsppRN*JI@IQ25pGt=|(i&9}Syigf#kmkgk eM3Al`pkc^B7$jGapOaaf0XG?44G+Xvh}8hnnm@1r literal 0 HcmV?d00001 diff --git a/lib/wlrepo/tests/data/test6-update/.hgignore b/lib/wlrepo/tests/data/test6-update/.hgignore new file mode 100644 index 00000000..e69de29b diff --git a/lib/wlrepo/tests/data/test6-update/pub_ala.xml b/lib/wlrepo/tests/data/test6-update/pub_ala.xml new file mode 100644 index 00000000..94d21052 --- /dev/null +++ b/lib/wlrepo/tests/data/test6-update/pub_ala.xml @@ -0,0 +1 @@ +Super tekst. diff --git a/lib/wlrepo/tests/data/test6-update/pub_valid_file.xml b/lib/wlrepo/tests/data/test6-update/pub_valid_file.xml new file mode 100644 index 00000000..84321884 --- /dev/null +++ b/lib/wlrepo/tests/data/test6-update/pub_valid_file.xml @@ -0,0 +1 @@ +Ala ma kota diff --git a/lib/wlrepo/tests/test_mercurial.py b/lib/wlrepo/tests/test_mercurial.py index 69978260..1bf5d5bf 100644 --- a/lib/wlrepo/tests/test_mercurial.py +++ b/lib/wlrepo/tests/test_mercurial.py @@ -13,224 +13,218 @@ from wlrepo.backend_mercurial import * import os, os.path, tempfile import shutil -REPO_TEMPLATES = os.path.join( os.path.dirname(__file__), 'data/repos') -ROOT_PATH = None - -class testBasicLibrary(object): - - def setUp(self): - self.path = tempfile.mkdtemp("", "testdir_" ) - print self.path - for subdir in os.listdir(REPO_TEMPLATES): - shutil.copytree(REPO_TEMPLATES + '/' + subdir, self.path + '/' + subdir, False) - - def tearDown(self): - if self.path is not None: - shutil.rmtree(self.path, True) - pass - - def test_opening(self): - library = MercurialLibrary(self.path + '/cleanrepo') - - def test_main_cabinett(self): - library = MercurialLibrary(self.path + '/cleanrepo') - - mcab = library.main_cabinet - assert_equal(mcab.maindoc_name, '') - - # @type mcab MercurialCabinet - doclist = mcab.documents() - assert_equal( list(doclist), ['valid_file']) - - - def test_read_document(self): - library = MercurialLibrary(self.path + '/testrepoI') - doc = library.main_cabinet.retrieve('valid_file') - - assert_equal(doc.read().strip(), 'Ala ma kota') - - def test_read_UTF8_document(self): - library = MercurialLibrary(self.path + '/testrepoI') - doc = library.main_cabinet.retrieve('polish_file') - - assert_equal(doc.read().strip(), u'Gąska!'.encode('utf-8')) - - def test_write_document(self): - library = MercurialLibrary(self.path + '/testrepoI') - doc = library.main_cabinet.retrieve('valid_file') - - assert_equal(doc.read().strip(), 'Ala ma kota') - - STRING = u'Gąski lubią pływać!\n'.encode('utf-8') - doc.write(STRING) - - assert_equal(doc.read(), STRING) - - def test_create_document(self): - repopath = os.path.join(self.path, 'testrepoI') - - library = MercurialLibrary(repopath) - doc = library.main_cabinet.create("another_file", "Some text") - assert_equal( doc.read(), "Some text") - assert_true( os.path.isfile( os.path.join(repopath, "pub_another_file.xml")) ) - - def test_switch_branch(self): - library = MercurialLibrary(self.path + '/testrepoII') - - tester_cab = library.cabinet("valid_file", "tester", create=False) - assert_equal( list(tester_cab.documents()), ['valid_file']) - - @raises(wlrepo.CabinetNotFound) - def test_branch_not_found(self): - library = MercurialLibrary(self.path + '/testrepoII') - tester_cab = library.cabinet("ugh", "tester", create=False) - - def test_no_branches(self): - library = MercurialLibrary(self.path + '/testrepoII') - n4 = library.shelf(4) - n3 = library.shelf(3) - n2 = library.shelf(2) - n1 = library.shelf(1) - n0 = library.shelf(0) - - assert_true( n3.parentof(n4) ) - assert_false( n4.parentof(n3) ) - assert_true( n0.parentof(n1) ) - assert_false( n1.parentof(n0) ) - assert_false( n0.parentof(n4) ) - - # def test_ancestor_of_simple(self): - assert_true( n3.ancestorof(n4) ) - assert_true( n2.ancestorof(n4) ) - assert_true( n1.ancestorof(n4) ) - assert_true( n0.ancestorof(n4) ) - - assert_true( n2.ancestorof(n3) ) - assert_true( n1.ancestorof(n3) ) - assert_true( n0.ancestorof(n3) ) - - assert_false( n4.ancestorof(n4) ) - assert_false( n4.ancestorof(n3) ) - assert_false( n3.ancestorof(n2) ) - assert_false( n3.ancestorof(n1) ) - assert_false( n3.ancestorof(n0) ) - - # def test_common_ancestor_simple(self): - assert_true( n3.has_common_ancestor(n4) ) - assert_true( n3.has_common_ancestor(n3) ) - assert_true( n3.has_common_ancestor(n3) ) - - - def test_once_branched(self): - library = MercurialLibrary(self.path + '/test3') - - n7 = library.shelf(7) - n6 = library.shelf(6) - n5 = library.shelf(5) - n4 = library.shelf(4) - n3 = library.shelf(3) - n2 = library.shelf(2) - - assert_true( n2.parentof(n3) ) - assert_false( n3.parentof(n2) ) - - assert_true( n2.parentof(n5) ) - assert_false( n5.parentof(n2) ) - - assert_false( n2.parentof(n4) ) - assert_false( n2.parentof(n6) ) - assert_false( n3.parentof(n5) ) - assert_false( n5.parentof(n3) ) - - # def test_ancestorof_branched(self): - assert_true( n2.ancestorof(n7) ) - assert_false( n7.ancestorof(n2) ) - assert_true( n2.ancestorof(n6) ) - assert_false( n6.ancestorof(n2) ) - assert_true( n2.ancestorof(n5) ) - assert_false( n5.ancestorof(n2) ) - - assert_false( n3.ancestorof(n5) ) - assert_false( n5.ancestorof(n3) ) - assert_false( n4.ancestorof(n5) ) - assert_false( n5.ancestorof(n4) ) - assert_false( n3.ancestorof(n7) ) - assert_false( n7.ancestorof(n3) ) - assert_false( n4.ancestorof(n6) ) - assert_false( n6.ancestorof(n4) ) - - # def test_common_ancestor_branched(self): - assert_true( n2.has_common_ancestor(n4) ) - assert_true( n2.has_common_ancestor(n7) ) - assert_true( n2.has_common_ancestor(n6) ) - - # cause it's not in the right branch - assert_false( n5.has_common_ancestor(n3) ) - assert_false( n7.has_common_ancestor(n4) ) - - def test_after_merge(self): - library = MercurialLibrary(self.path + '/test4') - n8 = library.shelf(8) - n7 = library.shelf(7) - n6 = library.shelf(6) - - assert_true( n7.parentof(n8) ) - assert_false( n8.parentof(n7) ) - - assert_true( n7.ancestorof(n8) ) - assert_true( n6.ancestorof(n8) ) - - - assert_true( n7.has_common_ancestor(n8) ) - # cause it's not in the right branch - assert_false( n8.has_common_ancestor(n7) ) - - - def test_after_merge_and_local_commit(self): - library = MercurialLibrary(self.path + '/test5b') - n9 = library.shelf(9) - n8 = library.shelf(8) - n7 = library.shelf(7) - n6 = library.shelf(6) - - assert_true( n7.parentof(n8) ) - assert_false( n8.parentof(n7) ) - - assert_true( n9.has_common_ancestor(n8) ) - # cause it's not in the right branch - assert_false( n8.has_common_ancestor(n9) ) +REPO_TEMPLATES = os.path.join( os.path.dirname(__file__), 'data/repos') - def test_merge_personal_to_default(self): - library = MercurialLibrary(self.path + '/test3') +def temprepo(name): + def decorator(func): + def decorated(self, *args, **kwargs): + clean = False + try: + temp = tempfile.mkdtemp("", "testdir_" ) + path = join(temp, 'repo') + shutil.copytree(join(REPO_TEMPLATES, name), path, False) + repo = MercurialLibrary(path) + func(self, *args, library=repo, **kwargs) + clean = True + finally: + #if not clean and self.response: + # print "RESULT", func.__name__, ">>>" + # print self.response + # print "<<<" + shutil.rmtree(temp, True) + + return decorated + return decorator + + +@temprepo('clean') +def test_opening(library): + pass + +@temprepo('clean') +def test_main_cabinet(library): + mcab = library.main_cabinet + assert_equal(mcab.maindoc_name, '') + + doclist = mcab.documents() + assert_equal( list(doclist), ['valid_file']) + +@temprepo('simple') +def test_read_document(library): + doc = library.main_cabinet.retrieve('valid_file') + assert_equal(doc.read().strip(), 'Ala ma kota') + +@temprepo('simple') +def test_read_UTF8_document(library): + doc = library.main_cabinet.retrieve('polish_file') + assert_equal(doc.read().strip(), u'Gąska!'.encode('utf-8')) + +@temprepo('simple') +def test_write_document(library): + doc = library.main_cabinet.retrieve('valid_file') + assert_equal(doc.read().strip(), 'Ala ma kota') + STRING = u'Gąski lubią pływać!\n'.encode('utf-8') + doc.write(STRING) + assert_equal(doc.read(), STRING) + +@temprepo('simple') +def test_create_document(library): + doc = library.main_cabinet.create("another_file", "Some text") + assert_equal( doc.read(), "Some text") + assert_true( os.path.isfile( os.path.join(repopath, "pub_another_file.xml")) ) + +@temprepo('branched') +def test_switch_branch(library): + tester_cab = library.cabinet("valid_file", "tester", create=False) + assert_equal( list(tester_cab.documents()), ['valid_file']) + +@raises(wlrepo.CabinetNotFound) +@temprepo('branched') +def test_branch_not_found(library): + tester_cab = library.cabinet("ugh", "tester", create=False) + +@temprepo('branched') +def test_no_branches(library): + n4 = library.shelf(4) + n3 = library.shelf(3) + n2 = library.shelf(2) + n1 = library.shelf(1) + n0 = library.shelf(0) + + assert_true( n3.parentof(n4) ) + assert_false( n4.parentof(n3) ) + assert_true( n0.parentof(n1) ) + assert_false( n1.parentof(n0) ) + assert_false( n0.parentof(n4) ) + +# def test_ancestor_of_simple(self): + assert_true( n3.ancestorof(n4) ) + assert_true( n2.ancestorof(n4) ) + assert_true( n1.ancestorof(n4) ) + assert_true( n0.ancestorof(n4) ) + + assert_true( n2.ancestorof(n3) ) + assert_true( n1.ancestorof(n3) ) + assert_true( n0.ancestorof(n3) ) + + assert_false( n4.ancestorof(n4) ) + assert_false( n4.ancestorof(n3) ) + assert_false( n3.ancestorof(n2) ) + assert_false( n3.ancestorof(n1) ) + assert_false( n3.ancestorof(n0) ) + +# def test_common_ancestor_simple(self): + assert_true( n3.has_common_ancestor(n4) ) + assert_true( n3.has_common_ancestor(n3) ) + assert_true( n3.has_common_ancestor(n3) ) + + +@temprepo('branched_two') +def test_once_branched(library): + n7 = library.shelf(7) + n6 = library.shelf(6) + n5 = library.shelf(5) + n4 = library.shelf(4) + n3 = library.shelf(3) + n2 = library.shelf(2) + + assert_true( n2.parentof(n3) ) + assert_false( n3.parentof(n2) ) + + assert_true( n2.parentof(n5) ) + assert_false( n5.parentof(n2) ) + + assert_false( n2.parentof(n4) ) + assert_false( n2.parentof(n6) ) + assert_false( n3.parentof(n5) ) + assert_false( n5.parentof(n3) ) + +# def test_ancestorof_branched(self): + assert_true( n2.ancestorof(n7) ) + assert_false( n7.ancestorof(n2) ) + assert_true( n2.ancestorof(n6) ) + assert_false( n6.ancestorof(n2) ) + assert_true( n2.ancestorof(n5) ) + assert_false( n5.ancestorof(n2) ) + + assert_false( n3.ancestorof(n5) ) + assert_false( n5.ancestorof(n3) ) + assert_false( n4.ancestorof(n5) ) + assert_false( n5.ancestorof(n4) ) + assert_false( n3.ancestorof(n7) ) + assert_false( n7.ancestorof(n3) ) + assert_false( n4.ancestorof(n6) ) + assert_false( n6.ancestorof(n4) ) + +# def test_common_ancestor_branched(self): + assert_true( n2.has_common_ancestor(n4) ) + assert_true( n2.has_common_ancestor(n7) ) + assert_true( n2.has_common_ancestor(n6) ) + + # cause it's not in the right branch + assert_false( n5.has_common_ancestor(n3) ) + assert_false( n7.has_common_ancestor(n4) ) + +@temprepo('merged') +def test_after_merge(library): + n8 = library.shelf(8) + n7 = library.shelf(7) + n6 = library.shelf(6) + + assert_true( n7.parentof(n8) ) + assert_false( n8.parentof(n7) ) + + assert_true( n7.ancestorof(n8) ) + assert_true( n6.ancestorof(n8) ) + + + assert_true( n7.has_common_ancestor(n8) ) + # cause it's not in the right branch + assert_false( n8.has_common_ancestor(n7) ) + +@temprepo('merged_with_local_commit') +def test_after_merge_and_local_commit(library): + n9 = library.shelf(9) + n8 = library.shelf(8) + n7 = library.shelf(7) + n6 = library.shelf(6) + + assert_true( n7.parentof(n8) ) + assert_false( n8.parentof(n7) ) + + assert_true( n9.has_common_ancestor(n8) ) + # cause it's not in the right branch + assert_false( n8.has_common_ancestor(n9) ) + + +@temprepo('branched2') +def test_merge_personal_to_default(library): + main = library.shelf(2) + local = library.shelf(7) - main = library.shelf(2) - local = library.shelf(7) + document = library.document("ala", "admin") + shared = document.shared() + print document, shared - document = library.document("ala", "admin") - shared = document.shared() - print document, shared + document.share("Here is my copy!") + + assert_equal( document.shelf(), local) # local didn't change - document.share("Here is my copy!") - assert_equal( document.shelf(), local) # local didn't change + new_main = shared.shelf() + assert_not_equal( new_main, main) # main has new revision - - new_main = shared.shelf() - assert_not_equal( new_main, main) # main has new revision - - # check for parents - assert_true( main.parentof(new_main) ) - assert_true( local.parentof(new_main) ) - - + # check for parents + assert_true( main.parentof(new_main) ) + assert_true( local.parentof(new_main) ) - def testCreateBranch(self): - repopath = os.path.join(self.path, 'testrepoII') - library = MercurialLibrary(repopath) +@temprepo('clean') +def testCreateBranch(library): + library = MercurialLibrary(repopath) - tester_cab = library.cabinet("anotherone", "tester", create=True) - assert_equal( list(tester_cab.documents()), ['anotherone']) + tester_cab = library.cabinet("anotherone", "tester", create=True) + assert_equal( list(tester_cab.documents()), ['anotherone']) -- 2.20.1