BK-MV(1)
๐ NAME ๐
bk mv โ rename file[s] โจ
okay bestie, this is the bk mv page from the BitKeeper Userโs Manual โ yes, the one that renames files. No cap. ๐ซถ
โจ SYNOPSIS โจ
bk mv [โf] sourceโfileโorโdir [file ...] destโfileโorโdir
๐ฆ DESCRIPTION ๐ฆ
To rename a file/directory from A to B do this:
$ bk mv A B
The bk mv command will rename the checked out file (if any) as well as the revision control file. Edited files are also renamed and then re-edited, preserving any changes made but not yet checked in. The rename will appear as an additional change to the file when you commit the next changeset. ๐
Renames propagate just like content changes, i.e., they happen automatically when you pull changes into your repository from another repository unless you have also renamed the file. In that case, the resolver will prompt you to choose a name. ๐ฆ
If the last argument is an existing directory, bk mv moves all listed files into that directory. Otherwise, if only two files are given, it renames the first as the second. It is an error if more than two files are listed and the last argument is not a directory. The intent is that bk mv behaves like the traditional UNIX mv command, except that it knows about the additional BitKeeper files and records the rename event. ๐
๐ NOTES ๐
- metafile refusal:
bk mvwill refuse to move BitKeeper metafiles without theโfoption (use of which is not recommended). ๐ - directory check: if both the A and B arguments are directories,
bk mvwill check the repository consistency. If this check fails the move operation will not continue. ๐
๐ฅ SEE ALSO ๐ฅ
bkโcommit, bkโnames, bkโpull, bkโpush, bkโrm, bkโrmdir
๐ CATEGORY ๐
CommonFile
๐ thatโs the whole page! footer vibes: BitKeeper Inc, version 1E1, and bk mv(none) โ with the date slot giving none. mwah, bye 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