@@ -11,7 +11,7 @@ import {
1111import { collectSelected , collectTrackedPaths , PathItem } from './collect'
1212import { Resource } from '../commands'
1313import { WorkspaceRepositories } from '../workspace'
14- import { exists , relativeWithUri } from '../../fileSystem'
14+ import { exists } from '../../fileSystem'
1515import { standardizePath } from '../../fileSystem/path'
1616import { fireWatcher } from '../../fileSystem/watcher'
1717import { deleteTarget , moveTargets } from '../../fileSystem/workspace'
@@ -32,7 +32,6 @@ import {
3232} from '../../commands/external'
3333import { sendViewOpenedTelemetryEvent } from '../../telemetry'
3434import { EventName } from '../../telemetry/constants'
35- import { getInput } from '../../vscode/inputBox'
3635import { pickResources } from '../../vscode/resourcePicker'
3736import { Modal } from '../../vscode/modal'
3837import { Response } from '../../vscode/response'
@@ -244,27 +243,6 @@ export class RepositoriesTree
244243 }
245244 )
246245
247- this . internalCommands . registerExternalCliCommand < Resource > (
248- RegisteredCliCommands . RENAME_TARGET ,
249- async ( { dvcRoot, resourceUri } ) => {
250- const relPath = relativeWithUri ( dvcRoot , resourceUri )
251- const relDestination = await getInput (
252- Title . ENTER_RELATIVE_DESTINATION ,
253- relPath
254- )
255- if ( ! relDestination || relDestination === relPath ) {
256- return
257- }
258-
259- return this . internalCommands . executeCommand (
260- AvailableCommands . MOVE ,
261- dvcRoot ,
262- relPath ,
263- relDestination
264- )
265- }
266- )
267-
268246 this . internalCommands . registerExternalCliCommand < PathItem > (
269247 RegisteredCliCommands . PULL_TARGET ,
270248 this . tryThenForce ( AvailableCommands . PULL )
0 commit comments