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 699 by douglas, 2006-03-12T19:28:22-08:00 vs.
Revision 700 by douglas, 2006-03-12T19:56:59-08:00

# Line 30 | Line 30 | Client::Client()
30  
31   cse::String Client::GetProperty(const cse::String &property, const cse::String &target)
32   {
33 <        return cse::String();
33 >        ::apr_hash_t *hash;
34 >        ::svn_opt_revision_t revision = { ::svn_opt_revision_unspecified };
35 >
36 >        CheckError(::svn_client_propget2(&hash, property.NullTerminate(), target.NullTerminate(), &revision, &revision, false, context, pool));
37 >
38 >        if (::apr_hash_index_t *index = ::apr_hash_first(pool, hash))
39 >        {
40 >                ::svn_string_t *string;
41 >
42 >                ::apr_hash_this(index, NULL, NULL, reinterpret_cast<void **>(&string));
43 >
44 >                return cse::String(string->data, string->len);
45 >        }
46 >        else
47 >                return cse::EmptyString;
48   }
49  
50   std::time_t Client::GetEntryCommittedDate(const cse::String &target)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines