From b529c7a9e4dfb5dcee07f2dc2443decd7d5e5ea9 Mon Sep 17 00:00:00 2001
From: Marco Villegas <marvil07@gmail.com>
Date: Tue, 1 Feb 2011 20:21:47 -0500
Subject: [PATCH 2/2] Revert "Revert "bug #1044192 by marvil07: Update labels on nested operation""

The logic there is right, the problem found is on the git parser, so I am
re-adding this.
---
 includes/VersioncontrolOperation.php |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git includes/VersioncontrolOperation.php includes/VersioncontrolOperation.php
index 08bc5c8..68a51f7 100644
--- includes/VersioncontrolOperation.php
+++ includes/VersioncontrolOperation.php
@@ -1,5 +1,5 @@
 <?php
-// $Id: VersioncontrolOperation.php,v 1.20 2011/02/01 05:04:33 sdboyer Exp $
+// $Id: VersioncontrolOperation.php,v 1.19 2011/01/29 01:08:55 marvil07 Exp $
 /**
  * @file
  * Operation class
@@ -212,6 +212,7 @@ abstract class VersioncontrolOperation extends VersioncontrolEntity {
       }
       $item->insert(array('source item update' => TRUE));
     }
+    $this->updateLabels();
   }
 
   public function update($options = array()) {
@@ -248,6 +249,7 @@ abstract class VersioncontrolOperation extends VersioncontrolEntity {
     foreach ($this->itemRevisions as $item) {
       $item->save(array('source item update' => TRUE));
     }
+    $this->updateLabels();
   }
 
   public function updateLabels() {
-- 
1.7.2.3

