Show More
@@ -19,3 +19,4 b' 439d7ea6fe3aa4ab9ec274a68846779153789de9' | |||||
19 | 296a0b14a68621f6990c54fdba0083f6f20935bf 0 iEYEABECAAYFAks+jCoACgkQywK+sNU5EO9J8wCeMUGF9E/gS2UBsqIz56WS4HMPRPUAoI5J95mwEIK8Clrl7qFRidNI6APq |
|
19 | 296a0b14a68621f6990c54fdba0083f6f20935bf 0 iEYEABECAAYFAks+jCoACgkQywK+sNU5EO9J8wCeMUGF9E/gS2UBsqIz56WS4HMPRPUAoI5J95mwEIK8Clrl7qFRidNI6APq | |
20 | 4aa619c4c2c09907034d9824ebb1dd0e878206eb 0 iEYEABECAAYFAktm9IsACgkQywK+sNU5EO9XGgCgk4HclRQhexEtooPE5GcUCdB6M8EAn2ptOhMVbIoO+JncA+tNACPFXh0O |
|
20 | 4aa619c4c2c09907034d9824ebb1dd0e878206eb 0 iEYEABECAAYFAktm9IsACgkQywK+sNU5EO9XGgCgk4HclRQhexEtooPE5GcUCdB6M8EAn2ptOhMVbIoO+JncA+tNACPFXh0O | |
21 | ff2704a8ded37fbebd8b6eb5ec733731d725da8a 0 iEYEABECAAYFAkuRoSQACgkQywK+sNU5EO//3QCeJDc5r2uFyFCtAlpSA27DEE5rrxAAn2FSwTy9fhrB3QAdDQlwkEZcQzDh |
|
21 | ff2704a8ded37fbebd8b6eb5ec733731d725da8a 0 iEYEABECAAYFAkuRoSQACgkQywK+sNU5EO//3QCeJDc5r2uFyFCtAlpSA27DEE5rrxAAn2FSwTy9fhrB3QAdDQlwkEZcQzDh | |
|
22 | 2b01dab594167bc0dd33331dbaa6dca3dca1b3aa 0 iEYEABECAAYFAku1IwIACgkQywK+sNU5EO9MjgCdHLVwkTZlNHxhcznZKBL1rjN+J7cAoLLWi9LTL6f/TgBaPSKOy1ublbaW |
@@ -31,3 +31,4 b' 439d7ea6fe3aa4ab9ec274a68846779153789de9' | |||||
31 | 296a0b14a68621f6990c54fdba0083f6f20935bf 1.4.2 |
|
31 | 296a0b14a68621f6990c54fdba0083f6f20935bf 1.4.2 | |
32 | 4aa619c4c2c09907034d9824ebb1dd0e878206eb 1.4.3 |
|
32 | 4aa619c4c2c09907034d9824ebb1dd0e878206eb 1.4.3 | |
33 | ff2704a8ded37fbebd8b6eb5ec733731d725da8a 1.5 |
|
33 | ff2704a8ded37fbebd8b6eb5ec733731d725da8a 1.5 | |
|
34 | 2b01dab594167bc0dd33331dbaa6dca3dca1b3aa 1.5.1 |
@@ -59,6 +59,7 b' testpats = [' | |||||
59 | (r'\$PWD', "don't use $PWD, use `pwd`"), |
|
59 | (r'\$PWD', "don't use $PWD, use `pwd`"), | |
60 | (r'[^\n]\Z', "no trailing newline"), |
|
60 | (r'[^\n]\Z', "no trailing newline"), | |
61 | (r'export.*=', "don't export and assign at once"), |
|
61 | (r'export.*=', "don't export and assign at once"), | |
|
62 | ('^([^"\']|("[^"]*")|(\'[^\']*\'))*\\^', "^ must be quoted"), | |||
62 | ] |
|
63 | ] | |
63 |
|
64 | |||
64 | testfilters = [ |
|
65 | testfilters = [ |
@@ -63,7 +63,7 b' def buildmatch(ui, repo, user, key):' | |||||
63 | return None |
|
63 | return None | |
64 |
|
64 | |||
65 | pats = [pat for pat, users in ui.configitems(key) |
|
65 | pats = [pat for pat, users in ui.configitems(key) | |
66 | if user in users.replace(',', ' ').split()] |
|
66 | if users == '*' or user in users.replace(',', ' ').split()] | |
67 | ui.debug('acl: %s enabled, %d entries for user %s\n' % |
|
67 | ui.debug('acl: %s enabled, %d entries for user %s\n' % | |
68 | (key, len(pats), user)) |
|
68 | (key, len(pats), user)) | |
69 | if pats: |
|
69 | if pats: |
@@ -227,6 +227,7 b' class convert_cvs(converter_source):' | |||||
227 | self.writep.flush() |
|
227 | self.writep.flush() | |
228 |
|
228 | |||
229 | data = "" |
|
229 | data = "" | |
|
230 | mode = None | |||
230 | while 1: |
|
231 | while 1: | |
231 | line = self.readp.readline() |
|
232 | line = self.readp.readline() | |
232 | if line.startswith("Created ") or line.startswith("Updated "): |
|
233 | if line.startswith("Created ") or line.startswith("Updated "): | |
@@ -244,6 +245,8 b' class convert_cvs(converter_source):' | |||||
244 | data = chunkedread(self.readp, count) |
|
245 | data = chunkedread(self.readp, count) | |
245 | else: |
|
246 | else: | |
246 | if line == "ok\n": |
|
247 | if line == "ok\n": | |
|
248 | if mode is None: | |||
|
249 | raise util.Abort(_('malformed response from CVS')) | |||
247 | return (data, "x" in mode and "x" or "") |
|
250 | return (data, "x" in mode and "x" or "") | |
248 | elif line.startswith("E "): |
|
251 | elif line.startswith("E "): | |
249 | self.ui.warn(_("cvs server: %s\n") % line[2:]) |
|
252 | self.ui.warn(_("cvs server: %s\n") % line[2:]) |
@@ -1960,9 +1960,8 b' def new(ui, repo, patch, *args, **opts):' | |||||
1960 | """create a new patch |
|
1960 | """create a new patch | |
1961 |
|
1961 | |||
1962 | qnew creates a new patch on top of the currently-applied patch (if |
|
1962 | qnew creates a new patch on top of the currently-applied patch (if | |
1963 |
any). |
|
1963 | any). The patch will be initialized with any outstanding changes | |
1964 | unless -f/--force is specified, in which case the patch will be |
|
1964 | in the working directory. You may also use -I/--include, | |
1965 | initialized with them. You may also use -I/--include, |
|
|||
1966 | -X/--exclude, and/or a list of files after the patch name to add |
|
1965 | -X/--exclude, and/or a list of files after the patch name to add | |
1967 | only changes to matching files to the new patch, leaving the rest |
|
1966 | only changes to matching files to the new patch, leaving the rest | |
1968 | as uncommitted modifications. |
|
1967 | as uncommitted modifications. |
@@ -3583,9 +3583,8 b' msgid ""' | |||||
3583 | "create a new patch\n" |
|
3583 | "create a new patch\n" | |
3584 | "\n" |
|
3584 | "\n" | |
3585 | " qnew creates a new patch on top of the currently-applied patch (if\n" |
|
3585 | " qnew creates a new patch on top of the currently-applied patch (if\n" | |
3586 |
" any). |
|
3586 | " any). The patch will be initialized with any outstanding changes\n" | |
3587 | " unless -f/--force is specified, in which case the patch will be\n" |
|
3587 | " in the working directory. You may also use -I/--include,\n" | |
3588 | " initialized with them. You may also use -I/--include,\n" |
|
|||
3589 | " -X/--exclude, and/or a list of files after the patch name to add\n" |
|
3588 | " -X/--exclude, and/or a list of files after the patch name to add\n" | |
3590 | " only changes to matching files to the new patch, leaving the rest\n" |
|
3589 | " only changes to matching files to the new patch, leaving the rest\n" | |
3591 | " as uncommitted modifications.\n" |
|
3590 | " as uncommitted modifications.\n" | |
@@ -3607,9 +3606,8 b' msgstr ""' | |||||
3607 | "cria um novo patch\n" |
|
3606 | "cria um novo patch\n" | |
3608 | "\n" |
|
3607 | "\n" | |
3609 | " qnew cria um novo patch no topo do patch aplicado no momento (se\n" |
|
3608 | " qnew cria um novo patch no topo do patch aplicado no momento (se\n" | |
3610 |
" houver). |
|
3609 | " houver). O patch será inicializado com quaisquer mudanças\n" | |
3611 | " pendente; a não ser que -f seja especificado, e nesse caso o\n" |
|
3610 | " pendentes do diretório de trabalho. Você pode também usar\n" | |
3612 | " patch será inicializado com essas mudanças. Você pode também usar\n" |
|
|||
3613 | " -I/--include, -X/--exclude, e/ou uma lista de arquivos após o\n" |
|
3611 | " -I/--include, -X/--exclude, e/ou uma lista de arquivos após o\n" | |
3614 | " nome do patch para adicionar ao novo patch apenas mudanças em\n" |
|
3612 | " nome do patch para adicionar ao novo patch apenas mudanças em\n" | |
3615 | " arquivos que casarem , mantendo as restantes como modificações\n" |
|
3613 | " arquivos que casarem , mantendo as restantes como modificações\n" |
@@ -30,7 +30,7 b' cd src' | |||||
30 | dd count=1 if=/dev/zero of=b > /dev/null 2> /dev/null |
|
30 | dd count=1 if=/dev/zero of=b > /dev/null 2> /dev/null | |
31 | baz add b |
|
31 | baz add b | |
32 | # HACK: hide GNU tar-1.22 "tar: The --preserve option is deprecated, use --preserve-permissions --preserve-order instead" |
|
32 | # HACK: hide GNU tar-1.22 "tar: The --preserve option is deprecated, use --preserve-permissions --preserve-order instead" | |
33 | baz commit -s "added a file, src and src/b (binary)" 2>&1 | grep -v ^tar |
|
33 | baz commit -s "added a file, src and src/b (binary)" 2>&1 | grep -v '^tar' | |
34 |
|
34 | |||
35 | echo % create link file and modify a |
|
35 | echo % create link file and modify a | |
36 | ln -s ../a a-link |
|
36 | ln -s ../a a-link |
@@ -110,7 +110,7 b' hg -R proj.hg glog --template "{rev} {de' | |||||
110 |
|
110 | |||
111 | echo "% convert to hg (#2: with merge detection)" |
|
111 | echo "% convert to hg (#2: with merge detection)" | |
112 | filterpath hg convert \ |
|
112 | filterpath hg convert \ | |
113 |
--config convert.cvsps.mergefrom= |
|
113 | --config convert.cvsps.mergefrom='"^MERGE from (\S+):"' \ | |
114 | --datesort \ |
|
114 | --datesort \ | |
115 | proj proj.hg2 |
|
115 | proj proj.hg2 | |
116 |
|
116 |
General Comments 0
You need to be logged in to leave comments.
Login now