Skip to content

Commit 8d58ee3

Browse files
committed
Merge branch 'master'
2 parents 7446d02 + 88c227d commit 8d58ee3

File tree

7 files changed

+12
-9
lines changed

7 files changed

+12
-9
lines changed

CI/tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313

1414
MERCURIAL_VERSION = '5.3'
15-
GIT_VERSION = '2.26.2'
15+
GIT_VERSION = '2.27.0'
1616

1717
ALL_MERCURIAL_VERSIONS = (
1818
'1.9.3', '2.0.2', '2.1.2', '2.2.3', '2.3.2', '2.4.2', '2.5.4',

cinnabar/hg/repo.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,8 @@ def do_cinnabarclone(repo, manifest, store):
811811
if not any(Git.iter(
812812
'rev-list', '--branches', '--tags', '--remotes',
813813
'--max-count=1', '--ancestry-path', '--stdin',
814-
stdin=(b'^%s^@' % c for c in graft))):
814+
stdin=(b'^%s^@' % c for c in graft),
815+
stderr=open(os.devnull, 'wb'))):
815816
continue
816817

817818
candidates.append((spec, len(graft) != 0))

cinnabar/remote_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ def resolve_head(head):
397397
heads = set(self._branchmap.heads()) & unknown_heads
398398
getbundle(self._repo, self._store, heads,
399399
self._branchmap.names())
400-
except Exception:
400+
except:
401401
wanted_refs = {}
402402
raise
403403
finally:

git-core

Submodule git-core updated from af6b65d to b3d7a52

helper/GIT-VERSION.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
GIT_VERSION ?= v2.26.2
1+
GIT_VERSION ?= v2.27.0
22
WINDOWS_GIT_VERSION ?= $(GIT_VERSION).windows.1

helper/cinnabar-fast-import.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ static void start_packfile();
99
#include "hg-bundle.h"
1010
#include "hg-data.h"
1111
#include "list.h"
12-
#include "sha1-array.h"
12+
#include "oid-array.h"
1313
#include "strslice.h"
1414
#include "tree-walk.h"
1515

@@ -131,6 +131,8 @@ static void init()
131131
avail_tree_table = xcalloc(avail_tree_table_sz, sizeof(struct avail_tree_content*));
132132
marks = mem_pool_calloc(&fi_mem_pool, 1, sizeof(struct mark_set));
133133

134+
hashmap_init(&object_table, object_entry_hashcmp, NULL, 0);
135+
134136
global_argc = 1;
135137

136138
rc_free = mem_pool_alloc(&fi_mem_pool, cmd_save * sizeof(*rc_free));
@@ -266,7 +268,7 @@ static uintmax_t parse_mark_ref(const char *p, char **endptr)
266268
e->pack_id = MAX_PACK_ID;
267269
e->idx.offset = 1;
268270
}
269-
insert_mark(2, e);
271+
insert_mark(marks, 2, e);
270272
return 2;
271273
}
272274

@@ -462,7 +464,7 @@ static void do_set(struct string_list *args)
462464

463465
if (args->items[2].string[0] == ':') {
464466
uintmax_t mark = parse_mark_ref_eol(args->items[2].string);
465-
struct object_entry *oe = find_mark(mark);
467+
struct object_entry *oe = find_mark(marks, mark);
466468
oidcpy(&git_id, &oe->idx.oid);
467469
} else if (get_oid_hex(args->items[2].string, &git_id))
468470
die("Invalid sha1");

helper/hg-connect.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#define HG_CONNECT_H
33

44
#include "run-command.h"
5-
#include "sha1-array.h"
5+
#include "oid-array.h"
66

77
struct hg_connection_stdio {
88
FILE *out;

0 commit comments

Comments
 (0)