Ejemplo n.º 1
0
        protected override bool RunInternal(IRemoteClient client, RemoteCommandVerbOptions options)
        {
            PullStashVerbOptions localOptions = options as PullStashVerbOptions;

            foreach (var x in localOptions.Names)
            {
                bool ambiguous;
                var  stash = StashList.LookupStash(client.Workspace, x, out ambiguous, true);
                if (stash == null && !ambiguous)
                {
                    client.PullStash(x);
                }
            }
            return(true);
        }