See ChangeLog

Monotone-Parent: cd39fe0df424d1e5afd5dcfa4b1c94ad707fed24
Monotone-Revision: fc9e1cf3f4988bae25443b6d072add3f344d30f0

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2012-04-24T11:47:32
This commit is contained in:
Ludovic Marcotte
2012-04-24 11:47:32 +00:00
parent f9d34ea6ec
commit c774314b1b
8 changed files with 61 additions and 26 deletions
+2 -4
View File
@@ -209,7 +209,7 @@
{
ex = [folder writeContent: newContent
toName: nameInContainer
baseVersion: newVersion];
baseVersion: &version];
if (ex)
[self errorWithFormat:@"write failed: %@", ex];
}
@@ -225,7 +225,7 @@
- (NSException *) saveContentString: (NSString *) newContent
{
return [self saveContentString: newContent baseVersion: 0];
return [self saveContentString: newContent baseVersion: version];
}
/* actions */
@@ -347,8 +347,6 @@
response = (WOResponse *) error;
else
{
if (!isNew)
version++;
response = [_ctx response];
/* setup response */