aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorJoakim Verona2013-02-18 00:04:31 +0100
committerJoakim Verona2013-02-18 00:04:31 +0100
commit37bce6bfacc0508a0c5016be3bfca92a81a59fe0 (patch)
treec0967967d0810670d1154c8a5b3a4a3521179660 /admin
parentbcd8c34aabe11e72a0ce35f654515e2bb9c2964b (diff)
parenta51e9ff76cc887e0e6df95ff2895d80e0c00e9b9 (diff)
downloademacs-37bce6bfacc0508a0c5016be3bfca92a81a59fe0.tar.gz
emacs-37bce6bfacc0508a0c5016be3bfca92a81a59fe0.zip
auto upstream
Diffstat (limited to 'admin')
-rw-r--r--admin/notes/bzr49
1 files changed, 49 insertions, 0 deletions
diff --git a/admin/notes/bzr b/admin/notes/bzr
index cdcfa7e7e3d..f35ff95f9d6 100644
--- a/admin/notes/bzr
+++ b/admin/notes/bzr
@@ -267,3 +267,52 @@ For example, on RHEL6 I needed:
267 yum --enablerepo=epel install python-simpletal 267 yum --enablerepo=epel install python-simpletal
268 268
269Then point your web-browser to http://127.0.0.1:8080/ . 269Then point your web-browser to http://127.0.0.1:8080/ .
270
271* Bisecting
272
273This is a semi-automated way to find the revision that introduced a bug.
274
275First, get the bzr bisect plugin if you do not have it already:
276
277 cd ~/.bazaar/plugins
278 bzr branch lp:bzr-bisect bisect
279
280`bzr help bisect' should work now.
281
282It's probably simplest to make a new copy of the branch to work in
283from this point onwards.
284
285Identify the last known "good" revision where the relevant issue is
286NOT present (e.g. maybe Emacs 24.1). Let's say this is revision 1000.
287
288 bzr bisect start
289 bzr bisect no -r 1000
290
291At this point, bzr will switch to the mid-point of revision 1000 and
292the current revision. If you know that the issue was definitely
293present in some specific revision (say 2000), you can use:
294
295 bzr bisect yes -r 2000
296
297Now bzr switches to revision 1500.
298
299Now test whether the issue is present. You might need to rebuild
300Emacs to do this, or if you know the problem is in a specific Lisp
301file, you might be able to get away with just loading that one file in
302current Emacs.
303
304If the issue is present, use
305
306 bzr bisect yes
307
308If it is not, use
309
310 bzr bisect no
311
312Repeat until you zero-in on the specific revision.
313
314When finished, use
315
316 bzr bisect reset
317
318or simply delete the entire branch if you created it just for this.