##// END OF EJS Templates
Merge with crew-stable
Patrick Mezard -
r9430:b5e9037d merge default
parent child Browse files
Show More
@@ -106,13 +106,12 b' PyDoc_STRVAR('
106 106
107 107 static PyObject *remove_watch(PyObject *self, PyObject *args)
108 108 {
109 PyObject *ret = NULL;
110 109 uint32_t wd;
111 110 int fd;
112 111 int r;
113 112
114 113 if (!PyArg_ParseTuple(args, "iI:remove_watch", &fd, &wd))
115 goto bail;
114 return NULL;
116 115
117 116 Py_BEGIN_ALLOW_THREADS
118 117 r = inotify_rm_watch(fd, wd);
@@ -120,18 +119,11 b' static PyObject *remove_watch(PyObject *'
120 119
121 120 if (r == -1) {
122 121 PyErr_SetFromErrno(PyExc_OSError);
123 goto bail;
122 return NULL;
124 123 }
125 124
126 125 Py_INCREF(Py_None);
127
128 goto done;
129
130 bail:
131 Py_CLEAR(ret);
132
133 done:
134 return ret;
126 return Py_None;
135 127 }
136 128
137 129 PyDoc_STRVAR(
@@ -2155,6 +2155,7 b' def merge(ui, repo, node=None, **opts):'
2155 2155 roots, heads = [common.node()], [p2.node()]
2156 2156 displayer = cmdutil.show_changeset(ui, repo, opts)
2157 2157 for node in repo.changelog.nodesbetween(roots=roots, heads=heads)[0]:
2158 if node not in roots:
2158 2159 displayer.show(repo[node])
2159 2160 return 0
2160 2161
@@ -92,8 +92,6 b' static PyObject *parse_manifest(PyObject'
92 92 goto bail;
93 93
94 94 if (nlen > 40) {
95 PyObject *flags;
96
97 95 flags = PyString_FromStringAndSize(zero + 41,
98 96 nlen - 40);
99 97 if (!flags)
@@ -1,9 +1,4 b''
1 1 created new head
2 changeset: 0:310fd17130da
3 user: test
4 date: Mon Jan 12 13:46:40 1970 +0000
5 summary: add foo
6
7 2 changeset: 1:7731dad1c2b9
8 3 user: test
9 4 date: Mon Jan 12 13:46:40 1970 +0000
@@ -13,11 +13,6 b" abort: branch 'default' has 3 heads - pl"
13 13 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
14 14 (branch merge, don't forget to commit)
15 15 % should succeed - 2 heads
16 changeset: 1:ba677d0156c1
17 user: test
18 date: Thu Jan 01 00:00:00 1970 +0000
19 summary: b
20
21 16 changeset: 3:903c264cdf57
22 17 parent: 1:ba677d0156c1
23 18 user: test
@@ -1,11 +1,6 b''
1 1 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
2 2 created new head
3 3 %% no merges expected
4 changeset: 0:98e00378acd0
5 user: test
6 date: Mon Jan 12 13:46:40 1970 +0000
7 summary: commit #0
8
9 4 changeset: 1:4ee19afe4659
10 5 user: test
11 6 date: Mon Jan 12 13:46:40 1970 +0000
General Comments 0
You need to be logged in to leave comments. Login now