mirror of
https://github.com/martinvonz/jj.git
synced 2025-05-05 15:32:49 +00:00
parent
4c5800ac4a
commit
5590e9473e
@ -25,10 +25,15 @@ use crate::command_error::user_error_with_message;
|
||||
use crate::command_error::CommandError;
|
||||
use crate::ui::Ui;
|
||||
|
||||
/// Create a new repo in the given directory
|
||||
/// Create a new repo in the given directory using the proof-of-concept native
|
||||
/// backend
|
||||
///
|
||||
/// If the given directory does not exist, it will be created. If no directory
|
||||
/// is given, the current directory is used.
|
||||
/// The proof-of-concept backend is called "local" because it does not support
|
||||
/// cloning, pushing, or fetching repositories or commits.
|
||||
///
|
||||
/// This command is otherwise analogous to `jj git init`. If the given directory
|
||||
/// does not exist, it will be created. If no directory is given, the current
|
||||
/// directory is used.
|
||||
#[derive(clap::Args, Clone, Debug)]
|
||||
pub(crate) struct DebugInitLocalArgs {
|
||||
/// The destination directory
|
||||
|
@ -4,7 +4,7 @@ set -euo pipefail
|
||||
|
||||
new_tmp_dir
|
||||
(
|
||||
jj init --config ui.allow-init-native=true
|
||||
jj debug init-local
|
||||
echo "first" > file
|
||||
jj bookmark create first
|
||||
jj commit -m 'first'
|
||||
|
Loading…
x
Reference in New Issue
Block a user