Author: lluis
Date: 2008-01-24 04:58:25 -0500 (Thu, 24 Jan 2008)
New Revision: 93776
Modified:
branches/monodevelop/main/1.0/src/addins/VersionControl/ChangeLog
branches/monodevelop/main/1.0/src/addins/VersionControl/MonoDevelop.VersionControl.Subversion/MonoDevelop.VersionControl.Subversion/SubversionVersionControl.cs
branches/monodevelop/main/1.0/src/addins/VersionControl/MonoDevelop.VersionControl/ChangeLog
branches/monodevelop/main/1.0/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/AddRemoveMoveCommand.cs
Log:
2008-01-24 Lluis Sanchez Gual <[EMAIL PROTECTED]>
*
MonoDevelop.VersionControl.Subversion/MonoDevelop.VersionControl.Subversion/SubversionVersionControl.cs:
In GetRepostoryReference, properly check if the provided directory is
versioned. Fixes bug #355770.
2008-01-24 Lluis Sanchez Gual <[EMAIL PROTECTED]>
* MonoDevelop.VersionControl/AddRemoveMoveCommand.cs:
NotifyFileStatusChanged is now gui thread safe, so no need to invoke
it
through Gtk.Application.Invoke.
Modified: branches/monodevelop/main/1.0/src/addins/VersionControl/ChangeLog
===================================================================
--- branches/monodevelop/main/1.0/src/addins/VersionControl/ChangeLog
2008-01-24 09:57:56 UTC (rev 93775)
+++ branches/monodevelop/main/1.0/src/addins/VersionControl/ChangeLog
2008-01-24 09:58:25 UTC (rev 93776)
@@ -1,3 +1,9 @@
+2008-01-24 Lluis Sanchez Gual <[EMAIL PROTECTED]>
+
+ *
MonoDevelop.VersionControl.Subversion/MonoDevelop.VersionControl.Subversion/SubversionVersionControl.cs:
+ In GetRepostoryReference, properly check if the provided directory is
+ versioned. Fixes bug #355770.
+
2008-01-22 Lluis Sanchez Gual <[EMAIL PROTECTED]>
*
MonoDevelop.VersionControl.Subversion/MonoDevelop.VersionControl.Subversion.addin.xml:
Modified:
branches/monodevelop/main/1.0/src/addins/VersionControl/MonoDevelop.VersionControl/ChangeLog
===================================================================
---
branches/monodevelop/main/1.0/src/addins/VersionControl/MonoDevelop.VersionControl/ChangeLog
2008-01-24 09:57:56 UTC (rev 93775)
+++
branches/monodevelop/main/1.0/src/addins/VersionControl/MonoDevelop.VersionControl/ChangeLog
2008-01-24 09:58:25 UTC (rev 93776)
@@ -1,3 +1,9 @@
+2008-01-24 Lluis Sanchez Gual <[EMAIL PROTECTED]>
+
+ * MonoDevelop.VersionControl/AddRemoveMoveCommand.cs:
+ NotifyFileStatusChanged is now gui thread safe, so no need to invoke
it
+ through Gtk.Application.Invoke.
+
2008-01-22 Lluis Sanchez Gual <[EMAIL PROTECTED]>
* VersionControl.addin.xml: Updated add-in category and description.
Modified:
branches/monodevelop/main/1.0/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/AddRemoveMoveCommand.cs
===================================================================
---
branches/monodevelop/main/1.0/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/AddRemoveMoveCommand.cs
2008-01-24 09:57:56 UTC (rev 93775)
+++
branches/monodevelop/main/1.0/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/AddRemoveMoveCommand.cs
2008-01-24 09:58:25 UTC (rev 93776)
@@ -50,9 +50,7 @@
protected override void Run ()
{
vc.Add (path, true, GetProgressMonitor ());
- Gtk.Application.Invoke (delegate {
-
VersionControlService.NotifyFileStatusChanged (vc, path, Directory.Exists
(path));
- });
+ VersionControlService.NotifyFileStatusChanged
(vc, path, Directory.Exists (path));
}
}
@@ -143,9 +141,7 @@
vc.DeleteDirectory (path, true,
GetProgressMonitor ());
else
vc.DeleteFile (path, true,
GetProgressMonitor ());
- Gtk.Application.Invoke (delegate {
-
VersionControlService.NotifyFileStatusChanged (vc, path, isDir);
- });
+ VersionControlService.NotifyFileStatusChanged
(vc, path, isDir);
}
}
Modified:
branches/monodevelop/main/1.0/src/addins/VersionControl/MonoDevelop.VersionControl.Subversion/MonoDevelop.VersionControl.Subversion/SubversionVersionControl.cs
===================================================================
---
branches/monodevelop/main/1.0/src/addins/VersionControl/MonoDevelop.VersionControl.Subversion/MonoDevelop.VersionControl.Subversion/SubversionVersionControl.cs
2008-01-24 09:57:56 UTC (rev 93775)
+++
branches/monodevelop/main/1.0/src/addins/VersionControl/MonoDevelop.VersionControl.Subversion/MonoDevelop.VersionControl.Subversion/SubversionVersionControl.cs
2008-01-24 09:58:25 UTC (rev 93776)
@@ -35,13 +35,13 @@
public override Repository GetRepositoryReference (string path,
string id)
{
try {
+ if (!IsVersioned (path))
+ return null;
string url = Client.GetPathUrl (path);
return new SubversionRepository (this, url);
} catch (Exception ex) {
// No SVN
- // FIXME: hack to help diagnose a bug
- if (!ex.Message.Contains ("is not a working
copy"))
- LoggingService.LogError (ex.ToString
());
+ LoggingService.LogError (ex.ToString ());
return null;
}
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches