diff tests/test-commandserver.py.out @ 16115:236bb604dc39 stable

scmutil: update cached copy when filecached attribute is assigned (issue3263) When assigning a new object to filecached properties, the cached object that was kept in the _filecache map was still holding the old object. By implementing __set__, we track these changes too and update the cached copy as well.
author Idan Kamara <idankk86@gmail.com>
date Wed, 15 Feb 2012 20:02:35 +0200
parents acfca07a8f26
children ce0ad184f489
line wrap: on
line diff
--- a/tests/test-commandserver.py.out	Wed Feb 15 23:44:10 2012 +0200
+++ b/tests/test-commandserver.py.out	Wed Feb 15 20:02:35 2012 +0200
@@ -114,6 +114,12 @@
  runcommand bookmarks
  * bm1                       1:d3a0a68be6de
    bm2                       1:d3a0a68be6de
+ runcommand bookmarks bm3
+ runcommand commit -Amm
+ runcommand bookmarks
+   bm1                       1:d3a0a68be6de
+   bm2                       1:d3a0a68be6de
+ * bm3                       2:aef17e88f5f0
 
 testing tagscache:
 
@@ -125,6 +131,6 @@
 testing setphase:
 
  runcommand phase -r .
-2: draft
+3: draft
  runcommand phase -r .
-2: public
+3: public