~ubuntu-branches/ubuntu/natty/monodevelop/natty

« back to all changes in this revision

Viewing changes to src/addins/VersionControl/MonoDevelop.VersionControl.Subversion/MonoDevelop.VersionControl.Subversion/SubversionRepository.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2010-07-05 13:00:05 UTC
  • mfrom: (1.2.8 upstream) (1.3.9 experimental)
  • Revision ID: james.westby@ubuntu.com-20100705130005-d6hp4k5gcn1xkj8c
Tags: 2.4+dfsg-1ubuntu1
* debian/patches/remove_support_for_moonlight.patch,
  debian/patches/dont_add_moonlight_to_core_addins.patch,
  debian/control:
  + Enable support for Moonlight
* debian/rules:
  + Ensure Moonlight addin isn't shipped in main MonoDevelop package by
    mistake

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
using System.Collections.Generic;
5
5
using System.Collections;
6
6
using System.Text;
7
 
using MonoDevelop.Core.Serialization;
8
7
using MonoDevelop.Core;
9
 
using MonoDevelop.Core.Gui;
10
 
using MonoDevelop.VersionControl.Subversion.Gui;
11
8
using MonoDevelop.Core.Collections;
12
 
using Algorithm.Diff;
 
9
using MonoDevelop.Components.Diff;
 
10
using MonoDevelop.Ide;
13
11
 
14
12
namespace MonoDevelop.VersionControl.Subversion
15
13
{
33
31
                        get {
34
32
                                List<Repository> list = new List<Repository> ();
35
33
                                
36
 
                                foreach (DirectoryEntry ent in Svn.List (Url, false)) {
 
34
                                foreach (DirectoryEntry ent in Svn.ListUrl (Url, false)) {
37
35
                                        if (ent.IsDirectory) {
38
36
                                                SubversionRepository rep = new SubversionRepository (Svn, Url + "/" + ent.Name);
39
37
                                                rep.Name = ent.Name;
439
437
                                else
440
438
                                        Directory.Delete (path, true);
441
439
                        }
442
 
                }
 
440
                }
 
441
                
 
442
                public override DiffInfo[] PathDiff (FilePath localPath, Revision fromRevision, Revision toRevision)
 
443
                {
 
444
                        string diff = Svn.GetUnifiedDiff (localPath, (SvnRevision)fromRevision, localPath, (SvnRevision)toRevision, true);
 
445
                        return GenerateUnifiedDiffInfo (diff, localPath, null);
 
446
                }
443
447
 
444
448
                public override DiffInfo[] PathDiff (FilePath baseLocalPath, FilePath[] localPaths, bool remoteDiff)
445
449
                {