Show More
@@ -112,3 +112,4 b' 540cd0ddac49c1125b2e013aa2ff18ecbd4dd954' | |||||
112 | 96a38d44ba093bd1d1ecfd34119e94056030278b 0 iQIVAwUAVarUUyBXgaxoKi1yAQIfJw/+MG/0736F/9IvzgCTF6omIC+9kS8JH0n/JBGPhpbPAHK4xxjhOOz6m3Ia3c3HNoy+I6calwU6YV7k5dUzlyLhM0Z5oYpdrH+OBNxDEsD5SfhclfR63MK1kmgtD33izijsZ++6a+ZaVfyxpMTksKOktWSIDD63a5b/avb6nKY64KwJcbbeXPdelxvXV7TXYm0GvWc46BgvrHOJpYHCDaXorAn6BMq7EQF8sxdNK4GVMNMVk1njve0HOg3Kz8llPB/7QmddZXYLFGmWqICyUn1IsJDfePxzh8sOYVCbxAgitTJHJJmmH5gzVzw7t7ljtmxSJpcUGQJB2MphejmNFGfgvJPB9c6xOCfUqDjxN5m24V+UYesZntpfgs3lpfvE7785IpVnf6WfKG4PKty01ome/joHlDlrRTekKMlpiBapGMfv8EHvPBrOA+5yAHNfKsmcyCcjD1nvXYZ2/X9qY35AhdcBuNkyp55oPDOdtYIHfnOIxlYMKG1dusDx3Z4eveF0lQTzfRVoE5w+k9A2Ov3Zx0aiSkFFevJjrq5QBfs9dAiT8JYgBmWhaJzCtJm12lQirRMKR/br88Vwt/ry/UVY9cereMNvRYUGOGfC8CGGDCw4WDD+qWvyB3mmrXVuMlXxQRIZRJy5KazaQXsBWuIsx4kgGqC5Uo+yzpiQ1VMuCyI= |
|
112 | 96a38d44ba093bd1d1ecfd34119e94056030278b 0 iQIVAwUAVarUUyBXgaxoKi1yAQIfJw/+MG/0736F/9IvzgCTF6omIC+9kS8JH0n/JBGPhpbPAHK4xxjhOOz6m3Ia3c3HNoy+I6calwU6YV7k5dUzlyLhM0Z5oYpdrH+OBNxDEsD5SfhclfR63MK1kmgtD33izijsZ++6a+ZaVfyxpMTksKOktWSIDD63a5b/avb6nKY64KwJcbbeXPdelxvXV7TXYm0GvWc46BgvrHOJpYHC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b 3.5-rc |
|
125 | 96a38d44ba093bd1d1ecfd34119e94056030278b 3.5-rc | |
126 | 21aa1c313b05b1a85f8ffa1120d51579ddf6bf24 3.5 |
|
126 | 21aa1c313b05b1a85f8ffa1120d51579ddf6bf24 3.5 | |
127 | 1a45e49a6bed023deb229102a8903234d18054d3 3.5.1 |
|
127 | 1a45e49a6bed023deb229102a8903234d18054d3 3.5.1 | |
|
128 | 9a466b9f9792e3ad7ae3fc6c43c3ff2e136b718d 3.5.2 |
@@ -894,9 +894,19 b' def overridearchivecmd(orig, ui, repo, d' | |||||
894 | finally: |
|
894 | finally: | |
895 | repo.unfiltered().lfstatus = False |
|
895 | repo.unfiltered().lfstatus = False | |
896 |
|
896 | |||
|
897 | def hgwebarchive(orig, web, req, tmpl): | |||
|
898 | web.repo.lfstatus = True | |||
|
899 | ||||
|
900 | try: | |||
|
901 | return orig(web, req, tmpl) | |||
|
902 | finally: | |||
|
903 | web.repo.lfstatus = False | |||
|
904 | ||||
897 | def overridearchive(orig, repo, dest, node, kind, decode=True, matchfn=None, |
|
905 | def overridearchive(orig, repo, dest, node, kind, decode=True, matchfn=None, | |
898 | prefix='', mtime=None, subrepos=None): |
|
906 | prefix='', mtime=None, subrepos=None): | |
899 | if not repo.lfstatus: |
|
907 | # For some reason setting repo.lfstatus in hgwebarchive only changes the | |
|
908 | # unfiltered repo's attr, so check that as well. | |||
|
909 | if not repo.lfstatus and not repo.unfiltered().lfstatus: | |||
900 | return orig(repo, dest, node, kind, decode, matchfn, prefix, mtime, |
|
910 | return orig(repo, dest, node, kind, decode, matchfn, prefix, mtime, | |
901 | subrepos) |
|
911 | subrepos) | |
902 |
|
912 |
@@ -119,6 +119,8 b' def uisetup(ui):' | |||||
119 | extensions.wrapfunction(archival, 'archive', overrides.overridearchive) |
|
119 | extensions.wrapfunction(archival, 'archive', overrides.overridearchive) | |
120 | extensions.wrapfunction(subrepo.hgsubrepo, 'archive', |
|
120 | extensions.wrapfunction(subrepo.hgsubrepo, 'archive', | |
121 | overrides.hgsubrepoarchive) |
|
121 | overrides.hgsubrepoarchive) | |
|
122 | extensions.wrapfunction(webcommands, 'archive', | |||
|
123 | overrides.hgwebarchive) | |||
122 | extensions.wrapfunction(cmdutil, 'bailifchanged', |
|
124 | extensions.wrapfunction(cmdutil, 'bailifchanged', | |
123 | overrides.overridebailifchanged) |
|
125 | overrides.overridebailifchanged) | |
124 |
|
126 |
@@ -16140,6 +16140,15 b' msgstr ""' | |||||
16140 | " em arquivos não resolvidos.\n" |
|
16140 | " em arquivos não resolvidos.\n" | |
16141 | " " |
|
16141 | " " | |
16142 |
|
16142 | |||
|
16143 | #, python-format | |||
|
16144 | msgid "%s: unknown bundle feature, %s" | |||
|
16145 | msgstr "%s: característica de bundle %s desconhecida" | |||
|
16146 | ||||
|
16147 | msgid "" | |||
|
16148 | "see https://mercurial.selenic.com/wiki/BundleFeature for more information" | |||
|
16149 | msgstr "" | |||
|
16150 | "veja http://mercurial.selenic.com/wiki/BundleFeature para mais informações" | |||
|
16151 | ||||
16143 | msgid "discard uncommitted changes (no backup)" |
|
16152 | msgid "discard uncommitted changes (no backup)" | |
16144 | msgstr "descarta mudanças não consolidadas (sem backup)" |
|
16153 | msgstr "descarta mudanças não consolidadas (sem backup)" | |
16145 |
|
16154 |
@@ -15,6 +15,8 b' of largefiles.' | |||||
15 | > minsize=2 |
|
15 | > minsize=2 | |
16 | > patterns=glob:**.dat |
|
16 | > patterns=glob:**.dat | |
17 | > usercache=${USERCACHE} |
|
17 | > usercache=${USERCACHE} | |
|
18 | > [web] | |||
|
19 | > allow_archive = zip | |||
18 |
|
|
20 | > [hooks] | |
19 | > precommit=sh -c "echo \\"Invoking status precommit hook\\"; hg status" |
|
21 | > precommit=sh -c "echo \\"Invoking status precommit hook\\"; hg status" | |
20 | > EOF |
|
22 | > EOF | |
@@ -215,6 +217,17 b' Clone over http, no largefiles pulled on' | |||||
215 | adding file changes |
|
217 | adding file changes | |
216 | added 1 changesets with 1 changes to 1 files |
|
218 | added 1 changesets with 1 changes to 1 files | |
217 |
|
219 | |||
|
220 | Archive contains largefiles | |||
|
221 | >>> import urllib2, os | |||
|
222 | >>> u = 'http://localhost:%s/archive/default.zip' % os.environ['HGPORT2'] | |||
|
223 | >>> with open('archive.zip', 'w') as f: | |||
|
224 | ... f.write(urllib2.urlopen(u).read()) | |||
|
225 | $ unzip -t archive.zip | |||
|
226 | Archive: archive.zip | |||
|
227 | testing: empty-default/.hg_archival.txt OK | |||
|
228 | testing: empty-default/f1 OK | |||
|
229 | No errors detected in compressed data of archive.zip. | |||
|
230 | ||||
218 | test 'verify' with remotestore: |
|
231 | test 'verify' with remotestore: | |
219 |
|
232 | |||
220 | $ rm "${USERCACHE}"/02a439e5c31c526465ab1a0ca1f431f76b827b90 |
|
233 | $ rm "${USERCACHE}"/02a439e5c31c526465ab1a0ca1f431f76b827b90 |
General Comments 0
You need to be logged in to leave comments.
Login now