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

Comparing GoogleTron/Subversion/Client.cpp (file contents):
Revision 1015 by douglas, 2006-03-25T23:27:01-08:00 vs.
Revision 1016 by douglas, 2008-05-25T07:22:49-07:00

# Line 10 | Line 10
10  
11   #include "Client.hpp"
12  
13 < namespace api
13 > /*namespace api
14   {
15  
16   namespace Apr
17   {
18  
19   template <>
20 < Array<const char *>::Array(_L<cse::String>::ConstIterator begin, _L<cse::String>::ConstIterator end)
20 > inline Array<const char *>::Array(_L<cse::String>::ConstIterator begin, _L<cse::String>::ConstIterator end)
21   {
22          _forall (_L<cse::String>::ConstIterator, string, begin, end)
23                  Push() = string->NullTerminate();
# Line 25 | Line 25 | Array<const char *>::Array(_L<cse::Strin
25  
26   }
27  
28 < }
28 > }*/
29  
30   namespace Subversion
31   {
# Line 98 | Line 98 | _L<Entry> Client::GetEntries(const cse::
98   void Client::Update(const _L<cse::String> &paths)
99   {
100          ::svn_opt_revision_t revision = { ::svn_opt_revision_head };
101 +        api::Apr::Array<const char *> array;
102 +
103 +        _foreach(const _L<cse::String>, path, paths)
104 +                array.Push() = path->NullTerminate();
105 +
106          api::Apr::Pool pool;
107  
108 <        CheckError(::svn_client_update2(NULL, api::Apr::Array<const char *>(paths.Begin(), paths.End()), &revision, false, true, context, pool));
108 >        CheckError(::svn_client_update2(NULL, /*api::Apr::Array<const char *>(paths.Begin(), paths.End())*/ array, &revision, false, true, context, pool));
109   }
110  
111   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines