~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_push.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-07-10 20:30:06 UTC
  • mfrom: (1843.2.5 quote-file-ids)
  • Revision ID: pqm@pqm.ubuntu.com-20060710203006-17445a0e4b07b070
Add test of _unescape_xml

Show diffs side-by-side

added added

removed removed

Lines of Context:
153
153
        self.assertFalse(pushed_repo.has_revision('a-2'))
154
154
        self.assertTrue(pushed_repo.has_revision('b-1'))
155
155
 
 
156
    def test_push_funky_id(self):
 
157
        t = self.make_branch_and_tree('tree')
 
158
        os.chdir('tree')
 
159
        self.build_tree(['filename'])
 
160
        t.add('filename', 'funky-chars<>%&;"\'')
 
161
        t.commit('commit filename')
 
162
        self.run_bzr('push', '../new-tree')