Author: lluis
Date: 2007-02-11 17:08:52 -0500 (Sun, 11 Feb 2007)
New Revision: 72632
Modified:
trunk/monodevelop/Extras/VersionControl/ChangeLog
trunk/monodevelop/Extras/VersionControl/MonoDevelop.VersionControl.Subversion/MonoDevelop.VersionControl.Subversion/SvnClient.cs
Log:
*
MonoDevelop.VersionControl.Subversion/MonoDevelop.VersionControl.Subversion/SvnClient.cs:
Use the svn_client_cat2 instead of svn_client_cat. This version of
the method can get old revisions of a file even when the file was
moved from another directory. Fixes bug #80318.
Modified: trunk/monodevelop/Extras/VersionControl/ChangeLog
===================================================================
--- trunk/monodevelop/Extras/VersionControl/ChangeLog 2007-02-11 22:03:29 UTC
(rev 72631)
+++ trunk/monodevelop/Extras/VersionControl/ChangeLog 2007-02-11 22:08:52 UTC
(rev 72632)
@@ -1,3 +1,10 @@
+2007-02-11 Lluis Sanchez Gual <[EMAIL PROTECTED]>
+
+ *
MonoDevelop.VersionControl.Subversion/MonoDevelop.VersionControl.Subversion/SvnClient.cs:
+ Use the svn_client_cat2 instead of svn_client_cat. This version of
+ the method can get old revisions of a file even when the file was
+ moved from another directory. Fixes bug #80318.
+
2007-02-09 Lluis Sanchez Gual <[EMAIL PROTECTED]>
* Diff/Diff.mdp, VersionControl.mds,
Modified:
trunk/monodevelop/Extras/VersionControl/MonoDevelop.VersionControl.Subversion/MonoDevelop.VersionControl.Subversion/SvnClient.cs
===================================================================
---
trunk/monodevelop/Extras/VersionControl/MonoDevelop.VersionControl.Subversion/MonoDevelop.VersionControl.Subversion/SvnClient.cs
2007-02-11 22:03:29 UTC (rev 72631)
+++
trunk/monodevelop/Extras/VersionControl/MonoDevelop.VersionControl.Subversion/MonoDevelop.VersionControl.Subversion/SvnClient.cs
2007-02-11 22:08:52 UTC (rev 72632)
@@ -220,7 +220,8 @@
StreamCollector collector = new
StreamCollector(stream);
IntPtr svnstream =
svn_stream_create(IntPtr.Zero, localpool);
svn_stream_set_write(svnstream, new
svn_readwrite_fn_t(collector.Func));
- CheckError(svn_client_cat(svnstream, pathorurl,
ref revision, ctx, localpool));
+ Rev peg_revision = Rev.Blank;
+ CheckError(svn_client_cat2(svnstream,
pathorurl, ref peg_revision, ref revision, ctx, localpool));
} finally {
apr.pool_destroy(localpool);
}
@@ -968,8 +969,9 @@
[DllImport(svnclientlib)] static extern IntPtr
svn_client_url_from_path (
ref IntPtr url, string path_or_url, IntPtr pool);
- [DllImport(svnclientlib)] static extern IntPtr svn_client_cat (
+ [DllImport(svnclientlib)] static extern IntPtr svn_client_cat2 (
IntPtr stream, string path_or_url,
+ ref Rev peg_revision,
ref Rev revision,
IntPtr ctx, IntPtr pool);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches