ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/GoogleTron/Command.hpp
(Generate patch)

Comparing GoogleTron/Command.hpp (file contents):
Revision 700 by douglas, 2006-03-12T19:28:22-08:00 vs.
Revision 701 by douglas, 2006-03-13T03:54:44-08:00

# Line 14 | Line 14
14   #endif
15  
16   #include <api/locks.hpp>
17 + #include <api/path.hpp>
18   #include <ext/queues.hpp>
19  
20   #include "Subversion/Client.hpp"
21   #include "Url.hpp"
22  
23   struct Command : public ext::ReferenceCounted {
24 <        const cse::String root;
25 <        operator const cse::String &() { return root; }
24 >        const api::Path root;
25 >        operator cse::String() const { return root.GetPath(); }
26   protected:
27 <        Command(const cse::String &root) : root(root) {}
27 >        Command(const cse::String &root) : root(api::Path(root).GetRealPath()) {}
28   };
29  
30   class CommandRunner

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines