/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/plugins/quilt/tests/test_wrapper.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2019-12-22 12:20:59 UTC
  • mfrom: (7413.3.1 quilt-fix)
  • Revision ID: breezy.the.bot@gmail.com-20191222122059-7mowcvpsz1uplfsd
Don't strip directory name when determining unapplied patches.

Merged from https://code.launchpad.net/~jelmer/brz/quilt-fix/+merge/375653

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
            ("source/patches/patch1.diff", "foob ar")])
91
91
        self.assertEquals(["patch1.diff"], quilt_unapplied("source"))
92
92
 
 
93
    def test_unapplied_dir(self):
 
94
        self.make_empty_quilt_dir("source")
 
95
        self.build_tree_contents([
 
96
            ("source/patches/series", "debian/patch1.diff\n"),
 
97
            ("source/patches/debian/", ),
 
98
            ("source/patches/debian/patch1.diff", "foob ar")])
 
99
        self.assertEquals(["debian/patch1.diff"], quilt_unapplied("source"))
 
100
 
93
101
    def test_unapplied_multi(self):
94
102
        self.make_empty_quilt_dir("source")
95
103
        self.build_tree_contents([