0

in my previous question on how to avoid merging specific files i received an answer see Bazaar merge questions

the solution is running a resolve command that takes the .THIS files for specific files that i dont want to merge. (like *.hex, *.s19...)

My question is how i make resolve command to run on all the files in all directories without making batch file that contains all the directoreis names. (what will work but needs modifications every project)

P.S i know what * is stand for , what is the meaning of ** ?

thanks

Community
  • 1
  • 1
Gil.I
  • 895
  • 12
  • 23

1 Answers1

2

If I understand correctly, it means "subtree". In other words, subdirectories and their subdirectories, and their subdirectories, etc. So, "*/.hex" would match all files with the "hex" extension in the current directory and anywhere in the subtree under that.

dOxxx
  • 1,540
  • 1
  • 12
  • 28
  • thanks. i play with it and i found out that every ** is for ONE sub-directory . for example , "bzr resolve --take-this ** / ** /*.i "(without the spaces) will go deep 2 levels in the direcotories tree – Gil.I Sep 10 '11 at 19:09
  • 1
    The double asterisk is interpreted by your shell, so its meaning can differ a bit. I use zsh, which expands any number of directories when it encounters a double asterisk. – jelmer Sep 11 '11 at 13:48