# untracked files
my $upstream_branch = ""; # upstream branch name
my $upstream_tag = ""; # upstream tag name used for generate tar ball
+my $fallback_to_native = ""; # fallback to native packaging mode if export fails
my $squash_patches_until = ""; # Commit_ID used for generate one patch
my $no_patch_export = 0; # don't generate patches if it's 1
my $packaging_dir = "packaging";# packaging dir
"include-all" => \$includeall,
"upstream-branch=s" => \$upstream_branch,
"upstream-tag=s" => \$upstream_tag,
+ "fallback-to-native" => \$fallback_to_native,
"squash-patches-until=s" => \$squash_patches_until,
"no-patch-export" => \$no_patch_export,
"packaging-dir=s" => \$packaging_dir,
if (! $upstream_tag eq "") {
push @args, "--upstream-tag=$upstream_tag";
}
+ if ($fallback_to_native == 1) {
+ push @args, "--fallback-to-native";
+ }
if (! $squash_patches_until eq "") {
push @args, "--squash-patches-until=$squash_patches_until";
}