Commits

Jussi Hagman  committed baf5d84

Fixed the workaround for 1.4.

  • Participants
  • Parent commits 0f88a86

Comments (0)

Files changed (1)

File Source/HgLogOperation.m

 	// Assume 1.5 and working xml output
     NSError *error = nil;
     xml = [[NSXMLDocument alloc] initWithData: self.outputData
-                                                     options: 0
-													   error: &error];
+									  options: 0
+										error: &error];
 	
     if( ! xml ) {		
 		// workaround for xml.style not emitting its footer:
 		NSMutableData *xmlData = [self.outputData mutableCopy];
 		[xmlData appendData: [@"</repository>" dataUsingEncoding: NSUTF8StringEncoding]];
 
-		NSXMLDocument *xml = [[NSXMLDocument alloc] initWithData: self.outputData
+		NSXMLDocument *xml = [[NSXMLDocument alloc] initWithData: xmlData
 														 options: 0
 														   error: &error];