Show More
@@ -368,7 +368,7 b' def trackedcmd(ui, repo, remotepath=None' | |||||
368 | opts = pycompat.byteskwargs(opts) |
|
368 | opts = pycompat.byteskwargs(opts) | |
369 | if repository.NARROW_REQUIREMENT not in repo.requirements: |
|
369 | if repository.NARROW_REQUIREMENT not in repo.requirements: | |
370 | raise error.Abort(_('the tracked command is only supported on ' |
|
370 | raise error.Abort(_('the tracked command is only supported on ' | |
371 |
're |
|
371 | 'repositories cloned with --narrow')) | |
372 |
|
372 | |||
373 | # Before supporting, decide whether it "hg tracked --clear" should mean |
|
373 | # Before supporting, decide whether it "hg tracked --clear" should mean | |
374 | # tracking no paths or all paths. |
|
374 | # tracking no paths or all paths. |
@@ -220,5 +220,5 b' Testing tracked command on a non-narrow ' | |||||
220 | $ hg init non-narrow |
|
220 | $ hg init non-narrow | |
221 | $ cd non-narrow |
|
221 | $ cd non-narrow | |
222 | $ hg tracked --addinclude foobar |
|
222 | $ hg tracked --addinclude foobar | |
223 |
abort: the tracked command is only supported on re |
|
223 | abort: the tracked command is only supported on repositories cloned with --narrow | |
224 | [255] |
|
224 | [255] |
General Comments 0
You need to be logged in to leave comments.
Login now