~cafg10/bazaarsharp/trunk

« back to all changes in this revision

Viewing changes to BzrSharp/Commands/SingleFile.cs

  • Committer: Carlos Flores
  • Date: 2010-06-06 19:07:30 UTC
  • Revision ID: cafg10@gmail.com-20100606190730-bovboh9wk4tsxhb8
Changes to move and add commands to correctly handle the new URI arguments system

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
            this.file = new Uri(file);
60
60
        }
61
61
 
 
62
        protected SingleFile(Uri workingTree, Uri file)
 
63
            : base(workingTree)
 
64
        {
 
65
            this.file = file;
 
66
        }
 
67
 
62
68
        public override IList<string> Arguments
63
69
        {
64
70
            get
67
73
 
68
74
                if (file != null)
69
75
                {
70
 
                    arguments.Add(file.MakeRelativeUri(workingDirectory).ToString());
 
76
                    arguments.Add(file.LocalPath);
71
77
                }
72
78
                return arguments;
73
79
            }