~k.h/bzr-visualstudio/trunk

« back to all changes in this revision

Viewing changes to Bazaar/Repository.cs

  • Committer: Klaus Hartke
  • Date: 2007-06-17 21:22:59 UTC
  • mfrom: (1.1.9 bazaar)
  • Revision ID: klaus.hartke@googlemail.com-20070617212259-16ott2aw04m85f3p
Merged BazaarSharp branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
                internal Repository(PythonObject impl)
21
21
                {
22
 
                        Debug.Assert(null != impl);
 
22
                        Debug.Assert(impl != null);
23
23
                        Debug.Assert(!impl.IsInvalid);
24
24
                        this.impl = impl;
25
25
                }
47
47
                {
48
48
                        if (disposing)
49
49
                        {
50
 
                                Debug.Assert(null != this.impl);
51
50
                                this.impl.Close();
52
51
                        }
53
52
                }
54
53
 
55
54
                #region Properties
56
55
 
57
 
                public LocationSpec Location
 
56
                public Uri Location
58
57
                {
59
58
                        get
60
59
                        {
66
65
 
67
66
                public static bool IsLocalPathARepo(string path)
68
67
                {
69
 
                        if (null == path)
 
68
                        if (path == null)
70
69
                        {
71
70
                                throw new ArgumentNullException("path", Messages.ArgumentNull_Path);
72
71
                        }