Mercurial > hg
comparison mercurial/narrowspec.py @ 39525:2675d561f5cb
narrowspec: fix a typoed 'supported'
Spotted by martinvonz.
Differential Revision: https://phab.mercurial-scm.org/D4374
author | Pulkit Goyal <pulkit@yandex-team.ru> |
---|---|
date | Sat, 25 Aug 2018 22:19:42 +0300 |
parents | 576eef1ab43d |
children | 0d572769046a |
comparison
equal
deleted
inserted
replaced
39524:294c571490f0 | 39525:2675d561f5cb |
---|---|
118 # maybe we should care about the profiles returned too | 118 # maybe we should care about the profiles returned too |
119 includepats, excludepats, profiles = sparse.parseconfig(repo.ui, spec, | 119 includepats, excludepats, profiles = sparse.parseconfig(repo.ui, spec, |
120 'narrow') | 120 'narrow') |
121 if profiles: | 121 if profiles: |
122 raise error.Abort(_("including other spec files using '%include' is not" | 122 raise error.Abort(_("including other spec files using '%include' is not" |
123 " suported in narrowspec")) | 123 " supported in narrowspec")) |
124 return includepats, excludepats | 124 return includepats, excludepats |
125 | 125 |
126 def save(repo, includepats, excludepats): | 126 def save(repo, includepats, excludepats): |
127 spec = format(includepats, excludepats) | 127 spec = format(includepats, excludepats) |
128 repo.svfs.write(FILENAME, spec) | 128 repo.svfs.write(FILENAME, spec) |