##// END OF EJS Templates
commands: document the layering violation in `manifest --all`...
Gregory Szorc -
r37455:814e080a default
parent child Browse files
Show More
@@ -3492,6 +3492,8 b' def manifest(ui, repo, node=None, rev=No'
3492 raise error.Abort(_("can't specify a revision with --all"))
3492 raise error.Abort(_("can't specify a revision with --all"))
3493
3493
3494 res = []
3494 res = []
3495 # TODO this is a massive layering violation. It assumes the repo is
3496 # backed by revlogs with a well-defined naming scheme.
3495 prefix = "data/"
3497 prefix = "data/"
3496 suffix = ".i"
3498 suffix = ".i"
3497 plen = len(prefix)
3499 plen = len(prefix)
@@ -878,7 +878,7 b' skip submodules in the conversion'
878
878
879 $ hg convert -q git-repo6 no-submodules --config convert.git.skipsubmodules=True
879 $ hg convert -q git-repo6 no-submodules --config convert.git.skipsubmodules=True
880 $ hg -R no-submodules manifest --all
880 $ hg -R no-submodules manifest --all
881 .gitmodules-renamed
881 .gitmodules-renamed (no-reposimplestore !)
882
882
883 convert using a different remote prefix
883 convert using a different remote prefix
884 $ git init git-repo7
884 $ git init git-repo7
@@ -1,5 +1,3 b''
1 #require repobundlerepo
2
3 Source bundle was generated with the following script:
1 Source bundle was generated with the following script:
4
2
5 # hg init
3 # hg init
@@ -12,7 +10,13 b' Source bundle was generated with the fol'
12 # hg ci -Amb -d'1 0'
10 # hg ci -Amb -d'1 0'
13
11
14 $ hg init
12 $ hg init
15 $ hg -q pull "$TESTDIR/bundles/test-manifest.hg"
13 $ hg unbundle "$TESTDIR/bundles/test-manifest.hg"
14 adding changesets
15 adding manifests
16 adding file changes
17 added 2 changesets with 3 changes to 3 files
18 new changesets b73562a03cfe:5bdc995175ba
19 (run 'hg update' to get a working copy)
16
20
17 The next call is expected to return nothing:
21 The next call is expected to return nothing:
18
22
@@ -64,9 +68,9 b' The next call is expected to return noth'
64 l
68 l
65
69
66 $ hg manifest --all
70 $ hg manifest --all
67 a
71 a (no-reposimplestore !)
68 b/a
72 b/a (no-reposimplestore !)
69 l
73 l (no-reposimplestore !)
70
74
71 The next two calls are expected to abort:
75 The next two calls are expected to abort:
72
76
General Comments 0
You need to be logged in to leave comments. Login now