BK-RENAMETOOL(1)
Okay bestie, welcome to bk renametool β straight outta the BitKeeper Userβs Manual β the graphical tool for finding renames. Itβs giving βtiny detective UI for your patchβ and Iβm obsessed. β¨
π NAME π
bk renametool β graphical tool for finding renames. No cap, thatβs the whole vibe. π
π SYNOPSIS π
bk renametool < filelist
π¦ DESCRIPTION π¦
The bk renametool command is a graphical interface for finding renames. It gets invoked automatically by the bk import command when youβre importing patches. π«Ά
The purpose of this tool is to maintain revision history across file renames. A repository managed entirely by BitKeeper manages revision history across file renames. But a system managed by BitKeeper that imports traditional patches (i.e. diff βNur) needs a little help, because patches do not directly record renames. π
Conceptually, a patch rename is seen as a deletion of one file and a creation of another file. When BitKeeper imports a patch, it detects the set of created and deleted files. Those files are then fed to bk renametool, where you get the chance to find files that are actually renames and record that information. Literally matchmaking for files. π
When bk renametool starts up, youβre looking at several text windows. The goal is to match up files in the create window with files in the delete window. You can click on files in each window and the tool will show you diffs. When you find two files you think are the same, you can click the rename button to rename them and remove them from the lists. The guess button tries to find matches for you based on the basename of the files. When you click on a created file, the guess button is invoked once automatically. You can click on the guess button again to find the next potential match. π₯
After youβve matched up every file there is to match up, click create all and delete all to finish up any stragglers, and then click apply. Slay. β
π BINDINGS π
Homeβ Scroll both diff windows to the topEndβ Scroll both diff windows to the bottomPageUpβ Scroll both diff windows one screen upPageDownβ Scroll both diff windows one screen downUpArrowβ Scroll both diff windows one line upDownArrowβ Scroll both diff windows one line downLeftArrowβ Scroll both diff windows to the leftRightArrowβ Scroll both diff windows to the right
These bindings are the same as clicking the associated buttons:
SPACE,nβ Next diffaβ Apply the actions in the Resolved files windowCβ Create all files in the Created files windowcβ Create the highlighted file in the Created files windowDβ Delete all files in the Deleted files windowdβ Delete the highlighted file in the Deleted files windowgβ Guess what the match might behβ Show history of the highlighted file in the Deleted files windowpβ Previous diffControlβqβ Quit without applying any changesrβ Rename the two marked filesuβ Undo the highlighted file in the Resolved files window
πΈ SEE ALSO πΈ
bkβconfigβguibkβrenames
π CATEGORY π
GUIβtools β thatβs the category, periodt. π
Cute sign-off: brought to you by BitKeeper Inc, footer tag 1E1, page bk renametool(none) β byeee bestie ππ¦
π¦ where this page comes from
- alpine 3.24: bitkeeper-doc 7.3.3-r1 Β· Apache-2.0
- Copyright (c) 1998-2015 BitKeeper Inc
- Copyright (C) 1989, 1990, 1991, 1992, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms