~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to external/ngit/NGit/NGit.Api/CreateBranchCommand.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
97
97
                /// invalid
98
98
                /// </exception>
99
99
                /// <returns>the newly created branch</returns>
100
 
                /// <exception cref="NGit.Api.Errors.JGitInternalException"></exception>
 
100
                /// <exception cref="NGit.Api.Errors.GitAPIException"></exception>
101
101
                public override Ref Call()
102
102
                {
103
103
                        CheckCallable();
110
110
                                        );
111
111
                                if (!force && exists)
112
112
                                {
113
 
                                        throw new RefAlreadyExistsException(MessageFormat.Format(JGitText.Get().refAlreadyExists
 
113
                                        throw new RefAlreadyExistsException(MessageFormat.Format(JGitText.Get().refAlreadyExists1
114
114
                                                , name));
115
115
                                }
116
116
                                ObjectId startAt = GetStartPoint();