# Testing multiple issues in default source

**URL:** https://discuss.tryton.org/t/testing-multiple-issues-in-default-source/5874
**Category:** Developer
**Created:** [January 30, 2023, 8:53am UTC](https://discuss.tryton.org/t/testing-multiple-issues-in-default-source/5874 "2023-01-30T08:53:07Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![maxx](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/maxx/32/2320_2.png) [@maxx](https://discuss.tryton.org/u/maxx)
#### Post date: [January 30, 2023, 8:53am UTC](https://discuss.tryton.org/t/testing-multiple-issues-in-default-source/5874/1 "2023-01-30T08:53:07Z")

</div>

Hi,

Before migrating to Heptapod, i use to test multiple issues simultaneously on a local default version. Just downloading diff patch and then applying with ‘patch -p1 \< patch.diff’. Useful to quickly test if a patch is correct. Often i applied more than one patch, for instance to test a new module (intrastat, party communication, … ) and see interactions. (or to keep the same database with the activated modules and their data’s).

With Heptapod, i could quickly test a patch with just switching to the topic linked to the merge request. But now, how testing more than one issue simultaneously? I found a diff on heptapod (Code → Download plain diff) but it seems “Git diff”.  
Thanks for suggestions.

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [January 30, 2023, 9:16am UTC](https://discuss.tryton.org/t/testing-multiple-issues-in-default-source/5874/2 "2023-01-30T09:16:05Z")

</div>

> [@maxx](#):
>
> but it seems “Git diff”

Which is the same format as Rietveld used.

---

<div class="post-metadata">

### Author: ![udono](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/udono/32/2114_2.png) [@udono](https://discuss.tryton.org/u/udono)
#### Post date: [January 30, 2023, 10:45am UTC](https://discuss.tryton.org/t/testing-multiple-issues-in-default-source/5874/3 "2023-01-30T10:45:17Z")

</div>

You could use mercurial also to create the patch, so you don’t need to leave the terminal:

```auto
hg up default
hg diff -r topic1 > topic1.patch
hg diff -r topic2 > topic2.patch
patch -p1 < topic1.patch
patch -p1 < topic2.patch

```

or if you prefer cherry pick commits, e.g.:

```auto

hg up topic1
hg diff -r s0::s1 > topic1.patch
hg up topic2
hg diff -r s2:: > topic2.patch
…
hg up default
patch -p1 < topic1.patch
patch -p1 < topic2.patch
…

```

---

<div class="post-metadata">

### Author: ![system](https://discuss-cdn.tryton.org/uploads/default/original/1X/c6f8ec0a40525cdcd50058c734283450a4b3d38b.png) [@system](https://discuss.tryton.org/u/system)
#### Post date: [March 1, 2023, 10:46am UTC](https://discuss.tryton.org/t/testing-multiple-issues-in-default-source/5874/4 "2023-03-01T10:46:20Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
