base revision file contents?

View: New views
3 Messages — Rating Filter:   Alert me  

base revision file contents?

by Dale Anson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm sure I'm overlooking something simple -- how do I get the contents
of the BASE revision of a file?  I can see how to get file contents
from the repository, but the BASE revision should be local, but I
don't see anything in SVNWCClient that would do it.

Thanks,

Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: svnkit-users-unsubscribe@...
For additional commands, e-mail: svnkit-users-help@...


Re: base revision file contents?

by Alexander Sinyushkin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Dale,

Use SVNWCClient's
    public void doGetFileContents(File path, SVNRevision pegRevision,
SVNRevision revision,
            boolean expandKeywords, OutputStream dst) throws SVNException {
passing pegRevision = SVNRevision.UNDEFINED and revision = SVNRevision.BASE.

----
Alexander Sinyushkin,
TMate Software,
http://svnkit.com/ - Java [Sub]Versioning Library!
http://sqljet.com/ - Java SQLite Library!



Dale Anson wrote:

> I'm sure I'm overlooking something simple -- how do I get the contents
> of the BASE revision of a file?  I can see how to get file contents
> from the repository, but the BASE revision should be local, but I
> don't see anything in SVNWCClient that would do it.
>
> Thanks,
>
> Dale
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: svnkit-users-unsubscribe@...
> For additional commands, e-mail: svnkit-users-help@...
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: svnkit-users-unsubscribe@...
For additional commands, e-mail: svnkit-users-help@...


Re: base revision file contents?

by Dale Anson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Doh! Thanks, I'm not sure how I overlooked that.

Dale


On Thu, Oct 1, 2009 at 4:41 AM, Alexander Sinyushkin
<Alexander.Sinyushkin@...> wrote:

> Hello Dale,
>
> Use SVNWCClient's
>   public void doGetFileContents(File path, SVNRevision pegRevision,
> SVNRevision revision,
>           boolean expandKeywords, OutputStream dst) throws SVNException {
> passing pegRevision = SVNRevision.UNDEFINED and revision = SVNRevision.BASE.
>
> ----
> Alexander Sinyushkin,
> TMate Software,
> http://svnkit.com/ - Java [Sub]Versioning Library! http://sqljet.com/ - Java
> SQLite Library!
>
>
>
> Dale Anson wrote:
>>
>> I'm sure I'm overlooking something simple -- how do I get the contents
>> of the BASE revision of a file?  I can see how to get file contents
>> from the repository, but the BASE revision should be local, but I
>> don't see anything in SVNWCClient that would do it.
>>
>> Thanks,
>>
>> Dale
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: svnkit-users-unsubscribe@...
>> For additional commands, e-mail: svnkit-users-help@...
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: svnkit-users-unsubscribe@...
> For additional commands, e-mail: svnkit-users-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: svnkit-users-unsubscribe@...
For additional commands, e-mail: svnkit-users-help@...