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 |