Mailinglist Archive: yast-commit (500 mails)

< Previous Next >
[yast-commit] r66325 - /trunk/snapper/agent-snapper/src/SnapperAgent.cc
Author: aschnell
Date: Fri Oct 7 13:54:53 2011
New Revision: 66325

URL: http://svn.opensuse.org/viewcvs/yast?rev=66325&view=rev
Log:
- removed conflicting statusToString

Modified:
trunk/snapper/agent-snapper/src/SnapperAgent.cc

Modified: trunk/snapper/agent-snapper/src/SnapperAgent.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/snapper/agent-snapper/src/SnapperAgent.cc?rev=66325&r1=66324&r2=66325&view=diff
==============================================================================
--- trunk/snapper/agent-snapper/src/SnapperAgent.cc (original)
+++ trunk/snapper/agent-snapper/src/SnapperAgent.cc Fri Oct 7 13:54:53 2011
@@ -59,28 +59,6 @@
}


-string statusToString(unsigned int status)
-{
- string ret;
-
- if (status & CREATED)
- ret += "+";
- else if (status & DELETED)
- ret += "-";
- else if (status & TYPE)
- ret += "t";
- else if (status & CONTENT)
- ret += "c";
- else
- ret += ".";
-
- ret += status & PERMISSIONS ? "p" : ".";
- ret += status & USER ? "u" : ".";
- ret += status & GROUP ? "g" : ".";
-
- return ret;
-}
-
/**
* Constructor
*/
@@ -400,8 +378,8 @@
}
else
{
- it->setRollback(true);
- it->doRollback ();
+ it->setUndo(true);
+ it->doUndo();
}
}
}

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages