monotone-commits-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-commits-diffs] net.venge.monotone: 8fd19a59e4cbf8dd7c12ab37f1


From: code
Subject: [Monotone-commits-diffs] net.venge.monotone: 8fd19a59e4cbf8dd7c12ab37f1a59daedea227df
Date: Mon, 17 Jan 2011 01:12:35 GMT

revision:            8fd19a59e4cbf8dd7c12ab37f1a59daedea227df
date:                2011-01-17T01:11:35
author:              Timothy Brownawell  <address@hidden>
branch:              net.venge.monotone
changelog:
Reorder a test slightly to not have a workspace unregister itself from a
db that has a server currently using it.

manifest:
format_version "1"

new_manifest [bd4a6e2a24bd82c8c0ca2cbca3e45a52234f6dfb]

old_revision [1bf56c6d94624c6b9b783cc456046372fc3749d6]

patch "tests/netsync_permissions_wildcards/__driver__.lua"
 from [04dbe62bca9496f4b6385d2d0e7a412b018d084d]
   to [e2f74afc72d62bbdf7b07f005844a8401d34b6c0]
============================================================
--- tests/netsync_permissions_wildcards/__driver__.lua	04dbe62bca9496f4b6385d2d0e7a412b018d084d
+++ tests/netsync_permissions_wildcards/__driver__.lua	e2f74afc72d62bbdf7b07f005844a8401d34b6c0
@@ -17,11 +17,16 @@ check(mtn2("update"), 0, false, false)
 -- will fail if the rev wasn't synced
 srv:stop()
 check(mtn2("update"), 0, false, false)
-srv = netsync.start({"--confdir=."}, 2, false)
 
 -- Try pushing just branches matching a wild card
 addfile("testfile2", "test file 2")
 commit("testbranch", "testfile")
+
+-- if we restart the server before doing the add, the add
+-- will fail when it tried to unregister the workspace with
+-- the old test2.db (set as the workspace db during the update)
+srv = netsync.start({"--confdir=."}, 2, false)
+
 srv:push("testbra*", 1)
 
 srv:stop()

reply via email to

[Prev in Thread] Current Thread [Next in Thread]