~lifeless/ubuntu/lucid/bzr/2.1.2-sru

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_repository_reference/test_add_signature_text.py

  • Committer: Bazaar Package Importer
  • Author(s): Jelmer Vernooij
  • Date: 2009-06-27 15:23:34 UTC
  • mfrom: (1.3.1 upstream) (3.1.78 karmic)
  • Revision ID: james.westby@ubuntu.com-20090627152334-u3smexjpaolh96qd
* New upstream release.
* Bump standards version to 3.8.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
#
13
13
# You should have received a copy of the GNU General Public License
14
14
# along with this program; if not, write to the Free Software
15
 
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
17
"""Tests for add_signature_text on a repository with external references."""
18
18
 
30
30
        tree = self.make_branch_and_tree('sample')
31
31
        revid = tree.commit('one')
32
32
        inv = tree.branch.repository.get_inventory(revid)
 
33
        tree.lock_read()
 
34
        self.addCleanup(tree.unlock)
33
35
        base = self.make_repository('base')
34
36
        repo = self.make_referring('referring', 'base')
35
37
        repo.lock_write()